SvgDrawScope
class SvgDrawScope(state: CanvasState<XY>, graphics: SVGGraphics2D, painterCache: Map<PainterFeature<XY>, Painter>, defaultStrokeWidth: Float = 1.0f) : FeatureDrawScope<XY>
Constructors
Link copied to clipboard
constructor(state: CanvasState<XY>, graphics: SVGGraphics2D, painterCache: Map<PainterFeature<XY>, Painter>, defaultStrokeWidth: Float = 1.0f)
Functions
Link copied to clipboard
open override fun drawCircle(brush: Brush, radius: Float, center: Offset, alpha: Float, style: DrawStyle, colorFilter: ColorFilter?, blendMode: BlendMode)
open override fun drawCircle(color: Color, radius: Float, center: Offset, alpha: Float, style: DrawStyle, colorFilter: ColorFilter?, blendMode: BlendMode)
Link copied to clipboard
open override fun drawImage(image: ImageBitmap, topLeft: Offset, alpha: Float, style: DrawStyle, colorFilter: ColorFilter?, blendMode: BlendMode)
Link copied to clipboard
Link copied to clipboard
open override fun drawPoints(points: List<Offset>, pointMode: PointMode, brush: Brush, strokeWidth: Float, cap: StrokeCap, pathEffect: PathEffect?, alpha: Float, colorFilter: ColorFilter?, blendMode: BlendMode)
open override fun drawPoints(points: List<Offset>, pointMode: PointMode, color: Color, strokeWidth: Float, cap: StrokeCap, pathEffect: PathEffect?, alpha: Float, colorFilter: ColorFilter?, blendMode: BlendMode)
Link copied to clipboard
open override fun drawRoundRect(brush: Brush, topLeft: Offset, size: Size, cornerRadius: CornerRadius, alpha: Float, style: DrawStyle, colorFilter: ColorFilter?, blendMode: BlendMode)
open override fun drawRoundRect(color: Color, topLeft: Offset, size: Size, cornerRadius: CornerRadius, style: DrawStyle, alpha: Float, colorFilter: ColorFilter?, blendMode: BlendMode)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard