Shapes
Class com.devexperts.dxcharts.lib.ui.theme.Shape
contains parameters for rounding UI elements in the form of androidx.compose.foundation.shape.RoundedCornerShape
.
The class is passed as a parameter in DxChartsTheme
.
How to override shapes used in library can be found here
Table of elements in the com.devexperts.dxcharts.lib.ui.theme.Shapes
class:
topStart parameter | topEnd parameter | bottomStart parameter | bottomEnd parameter | Illustration | Values |
---|---|---|---|---|---|
4.dp | 4.dp | 4.dp | 4.dp | ![]() | lastCandleInfoWidgetShape deleteOrderShape orderShape |
8.dp | 8.dp | 8.dp | 8.dp | ![]() | colorPaletteShape conferenceCallsCardWidgetShape dividendsCardWidgetShape earningsCardWidgetShape splitsCardWidgetShape newsCardWidgetShape |
12.dp | 12.dp | 12.dp | 12.dp | ![]() | searchRowTextFieldShape instrumentListCheckedItemBackgroundShape studiesSettingsTextButtonShape studiesTextButtonShape studiesSettingsSelectorButtonShape studiesSettingsSelectorBackgroundShape tradingWidgetButtonShape studiesSettingsNumberButtonShape createNewTemplateButtonShape tradingSuspendedTileShape studiesSettingsDropDownMenuShape dropdownMenuShape priceLabelShape protectionSetupShape numKeyboardButtonsShape |
36.dp | 36.dp | 36.dp | 36.dp | ![]() | roundButtonStudiesColorShapes |
Circle | Circle | Circle | Circle | ![]() | roundButtonStudiesColorShape textToolbarToggleButtonShape iconToolbarToggleButtonShape colorPickerButtonShape rangeSelectorShape timeframePresetsSelectorBackgroundShape colorCircleButtonShape floatingButtonShape alphaPickerThumbShape colorPickerBtnShape colorAlphaPickerCanvasShape hintCardShape floatingButtonsShape colorCircleShape rangeSelectorItemWidgetShape iconToolbarButtonShape ordersPlusButtonShape |
22.dp | 22.dp | - | - | ![]() | bottomSheetShape |
8.dp | 8.dp | - | - | ![]() | drawingsListFirstItemShape |
- | - | 8.dp | 8.dp | ![]() | drawingsListLastItemShape |
0.dp | 0.dp | 0.dp | 0.dp | ![]() | drawingsListItemShape protectionSetupButtonsShape customAggregationScreenHolder |
16.dp | 0.dp | 16.dp | 0.dp | ![]() | limitOrderButtonShape |
0.dp | 16.dp | 0.dp | 16.dp | ![]() | stopOrderButtonShape |