-
public final class PointStyle.ImagePointStyle extends PointStyle
Draws image instead of the point with Painter. For vector image use rememberVectorPainter or painterResource for resources. Needs to have BasicChartStyle.backgroundColor set to work properly.
-
-
Constructor Summary
Constructors Constructor Description PointStyle.ImagePointStyle(Painter image, Dp width, Dp height, Color tintColor)
-
Method Summary
Modifier and Type Method Description final PaintergetImage()final DpgetWidth()final DpgetHeight()final ColorgetTintColor()UnitdrawToCanvas(Float x, Float y, BasicChartDrawer basicChartDrawer)-
-
Method Detail
-
getImage
final Painter getImage()
-
getWidth
final Dp getWidth()
-
getHeight
final Dp getHeight()
-
getTintColor
final Color getTintColor()
-
drawToCanvas
Unit drawToCanvas(Float x, Float y, BasicChartDrawer basicChartDrawer)
-
-
-
-