public class ThemeColorProvider extends java.lang.Object implements IThemeProvider
SciChartSurface
Constructor and Description |
---|
ThemeColorProvider(android.content.Context context,
int themeId)
Creates theme provider based on specified style
|
Modifier and Type | Method and Description |
---|---|
com.scichart.drawing.common.BrushStyle |
getAxisBandsStyle()
Gets the
BrushStyle which will be used for rendering of AxisBase major bands |
com.scichart.drawing.common.FontStyle |
getAxisTitleTextStyle()
Gets the
FontStyle which will be used for rendering of AxisBase title |
int |
getAxisTooltipBackground()
Gets the default background for
AxisBase tooltips |
com.scichart.drawing.common.FontStyle |
getAxisTooltipTextStyle()
Gets the default font style for
AxisBase tooltips |
com.scichart.drawing.common.PenStyle |
getCrossPointerLineStyle()
Gets the
PenStyle which will be used for rendering of cross pointer provided by TooltipModifier |
com.scichart.drawing.common.PenStyle |
getCursorLineStyle()
Gets the
PenStyle which will be used for rendering of CursorModifier cross |
IResizingGrip |
getDefaultAnnotationGrip()
Gets the default
IResizingGrip which will be used for drawing of resizing grips for all AnnotationBase |
com.scichart.drawing.common.FontStyle |
getDefaultAxisMarkerAnnotationStyle()
Gets the default text style for
AxisMarkerAnnotation |
com.scichart.drawing.common.BrushStyle |
getDefaultCandleFillDownStyle()
Gets the default fill style for
FastCandlestickRenderableSeries.getFillDownBrushStyle() |
com.scichart.drawing.common.BrushStyle |
getDefaultCandleFillUpStyle()
Gets the default fill style for
FastCandlestickRenderableSeries.getFillUpBrushStyle() |
com.scichart.drawing.common.PenStyle |
getDefaultCandleStrokeDownStyle()
Gets the default line style for
OhlcRenderableSeriesBase.getStrokeDownStyle() |
com.scichart.drawing.common.PenStyle |
getDefaultCandleStrokeUpStyle()
Gets the default line style for
OhlcRenderableSeriesBase.getStrokeUpStyle() |
com.scichart.drawing.common.BrushStyle |
getDefaultColumnFillStyle()
Gets the default fill style for
BaseColumnRenderableSeries.getFillBrushStyle() |
com.scichart.drawing.common.PenStyle |
getDefaultColumnLineStyle()
Gets the default line style for
BaseRenderableSeries.getStrokeStyle() |
com.scichart.drawing.common.BrushStyle |
getDefaultDownBandFillStyle()
Gets the default fill style for
FastBandRenderableSeries.getFillBrushStyle() |
com.scichart.drawing.common.PenStyle |
getDefaultDownBandLineStyle()
Gets the default line style for
BaseRenderableSeries.getStrokeStyle() |
com.scichart.drawing.common.FontStyle |
getDefaultLabelTextStyle()
Gets the default font style for
SciChartLegend and SciChartHeatmapColourMap |
com.scichart.drawing.common.PenStyle |
getDefaultLineAnnotationStyle()
Gets the default line style for
LineAnnotation |
com.scichart.drawing.common.PenStyle |
getDefaultLineSeriesStyle()
Gets the default line style for
BaseRenderableSeries.getStrokeStyle() |
com.scichart.drawing.common.BrushStyle |
getDefaultMountainFillStyle()
Gets the default fill style for
BaseMountainRenderableSeries.getAreaStyle() |
com.scichart.drawing.common.PenStyle |
getDefaultMountainLineStyle()
Gets the default line style for
BaseRenderableSeries.getStrokeStyle() |
com.scichart.drawing.common.FontStyle |
getDefaultPieSegmentTitleStyle()
Gets the default font style for
IPieSegment.getTitleStyle() |
com.scichart.drawing.common.BrushStyle |
getDefaultTextAnnotationBackgroundBrush()
Gets the default background for
TextAnnotation |
com.scichart.drawing.common.FontStyle |
getDefaultTextAnnotationStyle()
Gets the default text style for
TextAnnotation |
com.scichart.drawing.common.BrushStyle |
getDefaultUpBandFillStyle()
Gets the default fill style for
FastBandRenderableSeries.getFillY1BrushStyle() |
com.scichart.drawing.common.PenStyle |
getDefaultUpBandLineStyle()
Gets the default line style for
FastBandRenderableSeries.getStrokeY1Style() |
int |
getLabelBackground()
Gets the
BrushStyle which will be used for rendering of CursorModifier tooltip background. |
int |
getLegendBackground()
Gets the id of the resource which will be used as background of
SciChartLegend |
com.scichart.drawing.common.PenStyle |
getMajorGridLinesStyle()
Gets the
PenStyle which will be used for rendering of AxisBase major grid lines |
float |
getMajorTickLineLength()
Gets the length of major tick lines which are rendered by
AxisBase instance |
com.scichart.drawing.common.PenStyle |
getMinorGridLinesStyle()
Gets the
PenStyle which will be used for rendering of AxisBase minor grid lines |
float |
getMinorTickLineLength()
Gets the length of minor tick lines which are rendered by
AxisBase instance |
com.scichart.drawing.common.PenStyle |
getRenderableSeriesAreaBorderStyle()
Gets the
PenStyle which will be used as style for SciChartSurface.getRenderableSeriesArea() border |
com.scichart.drawing.common.BrushStyle |
getRenderableSeriesAreaFillStyle()
Gets the
BrushStyle which will be used as style for SciChartSurface.getRenderableSeriesArea() background |
com.scichart.drawing.common.PenStyle |
getRolloverLineStyle()
Gets the
PenStyle which will be used for rendering of RolloverModifier vertical line |
com.scichart.drawing.common.BrushStyle |
getRubberBandFillStyle()
Gets the
BrushStyle which will be used to fill RubberBandXyZoomModifier reticule |
com.scichart.drawing.common.PenStyle |
getRubberBandStrokeStyle()
Gets the
PenStyle which will be used to renderer border of RubberBandXyZoomModifier reticule |
int |
getSciChartSurfaceBackground()
Gets the id of the resource which will be used as background of
SciChartSurface |
int |
getThemeId()
Gets the id of the current theme
|
com.scichart.drawing.common.FontStyle |
getTickTextStyle()
Gets the
FontStyle which will be used for rendering of AxisBase tick labels |
public ThemeColorProvider(android.content.Context context, @StyleRes int themeId)
context
- Context of applicationthemeId
- The id of style which should be used as base for this theme providerpublic final int getThemeId()
getThemeId
in interface IThemeProvider
@DrawableRes public final int getSciChartSurfaceBackground()
SciChartSurface
getSciChartSurfaceBackground
in interface IThemeProvider
SciChartSurface
background@DrawableRes public final int getLegendBackground()
SciChartLegend
getLegendBackground
in interface IThemeProvider
SciChartLegend
backgroundpublic final com.scichart.drawing.common.PenStyle getRenderableSeriesAreaBorderStyle()
PenStyle
which will be used as style for SciChartSurface.getRenderableSeriesArea()
bordergetRenderableSeriesAreaBorderStyle
in interface IThemeProvider
public final com.scichart.drawing.common.BrushStyle getRenderableSeriesAreaFillStyle()
BrushStyle
which will be used as style for SciChartSurface.getRenderableSeriesArea()
backgroundgetRenderableSeriesAreaFillStyle
in interface IThemeProvider
public final com.scichart.drawing.common.FontStyle getTickTextStyle()
FontStyle
which will be used for rendering of AxisBase
tick labelsgetTickTextStyle
in interface IThemeProvider
public final com.scichart.drawing.common.FontStyle getAxisTitleTextStyle()
FontStyle
which will be used for rendering of AxisBase
titlegetAxisTitleTextStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getMajorGridLinesStyle()
PenStyle
which will be used for rendering of AxisBase
major grid linesgetMajorGridLinesStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getMinorGridLinesStyle()
PenStyle
which will be used for rendering of AxisBase
minor grid linesgetMinorGridLinesStyle
in interface IThemeProvider
public final float getMajorTickLineLength()
AxisBase
instancegetMajorTickLineLength
in interface IThemeProvider
public final float getMinorTickLineLength()
AxisBase
instancegetMinorTickLineLength
in interface IThemeProvider
public final com.scichart.drawing.common.BrushStyle getAxisBandsStyle()
BrushStyle
which will be used for rendering of AxisBase
major bandsgetAxisBandsStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getRolloverLineStyle()
PenStyle
which will be used for rendering of RolloverModifier
vertical linegetRolloverLineStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getCrossPointerLineStyle()
PenStyle
which will be used for rendering of cross pointer provided by TooltipModifier
getCrossPointerLineStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getCursorLineStyle()
PenStyle
which will be used for rendering of CursorModifier
crossgetCursorLineStyle
in interface IThemeProvider
@DrawableRes public int getLabelBackground()
BrushStyle
which will be used for rendering of CursorModifier
tooltip background.getLabelBackground
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getRubberBandStrokeStyle()
PenStyle
which will be used to renderer border of RubberBandXyZoomModifier
reticulegetRubberBandStrokeStyle
in interface IThemeProvider
public final com.scichart.drawing.common.BrushStyle getRubberBandFillStyle()
BrushStyle
which will be used to fill RubberBandXyZoomModifier
reticulegetRubberBandFillStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getDefaultLineAnnotationStyle()
LineAnnotation
getDefaultLineAnnotationStyle
in interface IThemeProvider
public final com.scichart.drawing.common.FontStyle getDefaultTextAnnotationStyle()
TextAnnotation
getDefaultTextAnnotationStyle
in interface IThemeProvider
public final com.scichart.drawing.common.BrushStyle getDefaultTextAnnotationBackgroundBrush()
TextAnnotation
getDefaultTextAnnotationBackgroundBrush
in interface IThemeProvider
public final com.scichart.drawing.common.FontStyle getDefaultAxisMarkerAnnotationStyle()
AxisMarkerAnnotation
getDefaultAxisMarkerAnnotationStyle
in interface IThemeProvider
public final IResizingGrip getDefaultAnnotationGrip()
IResizingGrip
which will be used for drawing of resizing grips for all AnnotationBase
getDefaultAnnotationGrip
in interface IThemeProvider
@DrawableRes public final int getAxisTooltipBackground()
AxisBase
tooltipsgetAxisTooltipBackground
in interface IThemeProvider
public final com.scichart.drawing.common.FontStyle getAxisTooltipTextStyle()
AxisBase
tooltipsgetAxisTooltipTextStyle
in interface IThemeProvider
public final com.scichart.drawing.common.FontStyle getDefaultLabelTextStyle()
SciChartLegend
and SciChartHeatmapColourMap
getDefaultLabelTextStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getDefaultMountainLineStyle()
BaseRenderableSeries.getStrokeStyle()
getDefaultMountainLineStyle
in interface IThemeProvider
public final com.scichart.drawing.common.BrushStyle getDefaultMountainFillStyle()
BaseMountainRenderableSeries.getAreaStyle()
getDefaultMountainFillStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getDefaultLineSeriesStyle()
BaseRenderableSeries.getStrokeStyle()
getDefaultLineSeriesStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getDefaultColumnLineStyle()
BaseRenderableSeries.getStrokeStyle()
getDefaultColumnLineStyle
in interface IThemeProvider
public final com.scichart.drawing.common.BrushStyle getDefaultColumnFillStyle()
BaseColumnRenderableSeries.getFillBrushStyle()
getDefaultColumnFillStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getDefaultCandleStrokeUpStyle()
OhlcRenderableSeriesBase.getStrokeUpStyle()
getDefaultCandleStrokeUpStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getDefaultCandleStrokeDownStyle()
OhlcRenderableSeriesBase.getStrokeDownStyle()
getDefaultCandleStrokeDownStyle
in interface IThemeProvider
public final com.scichart.drawing.common.BrushStyle getDefaultCandleFillUpStyle()
FastCandlestickRenderableSeries.getFillUpBrushStyle()
getDefaultCandleFillUpStyle
in interface IThemeProvider
public final com.scichart.drawing.common.BrushStyle getDefaultCandleFillDownStyle()
FastCandlestickRenderableSeries.getFillDownBrushStyle()
getDefaultCandleFillDownStyle
in interface IThemeProvider
public final com.scichart.drawing.common.BrushStyle getDefaultDownBandFillStyle()
FastBandRenderableSeries.getFillBrushStyle()
getDefaultDownBandFillStyle
in interface IThemeProvider
public final com.scichart.drawing.common.BrushStyle getDefaultUpBandFillStyle()
FastBandRenderableSeries.getFillY1BrushStyle()
getDefaultUpBandFillStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getDefaultUpBandLineStyle()
FastBandRenderableSeries.getStrokeY1Style()
getDefaultUpBandLineStyle
in interface IThemeProvider
public final com.scichart.drawing.common.PenStyle getDefaultDownBandLineStyle()
BaseRenderableSeries.getStrokeStyle()
getDefaultDownBandLineStyle
in interface IThemeProvider
public com.scichart.drawing.common.FontStyle getDefaultPieSegmentTitleStyle()
IPieSegment.getTitleStyle()
getDefaultPieSegmentTitleStyle
in interface IThemeProvider