Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class BitmapVector(val shape: BoundsDrawable, val bounds: Rectangle = shape.bounds, val scale: Double = 1.0, val rasterizerMethod: ShapeRasterizerMethod = ShapeRasterizerMethod.X4, val antialiasing: Boolean = true, val width: Int = (bounds.width * scale).toInt(), val height: Int = (bounds.height * scale).toInt(), premultiplied: Boolean, val native: Boolean = true) : Bitmap
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface CompositeOperation
Link copied to clipboard
Link copied to clipboard
open class Context2d(val renderer: Renderer, val defaultFontRegistry: FontRegistry? = null, val defaultFont: Font? = null) : VectorBuilder, Disposable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class FillShape(val path: VectorPath, val clip: VectorPath?, val paint: Paint, val transform: Matrix = Matrix.IDENTITY, val globalAlpha: Double = 1.0) : StyledShape
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PolylineShape(val path: VectorPath, val clip: VectorPath?, val paint: Paint, val transform: Matrix, val strokeInfo: StrokeInfo, val globalAlpha: Double = 1.0) : StyledShape
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TextShape(val text: String, val pos: Point, val font: Font?, val fontSize: Double, val clip: VectorPath?, val fill: Paint?, val stroke: Paint?, val align: TextAlignment = TextAlignment.TOP_LEFT, val transform: Matrix = Matrix.IDENTITY, val globalAlpha: Double = 1.0) : StyledShape
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
inline fun buildShape(width: Int? = null, height: Int? = null, builder: ShapeBuilder.() -> Unit): Shape
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun BoundsDrawable.renderWithHotspot(scale: Double? = null, fit: Size? = null, native: Boolean = true): BitmapWithHotspot<Bitmap>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun VectorPath.scaleNinePatch(newSize: Size, slices: NinePatchSlices2D = NinePatchSlices2D(), oldSize: Size? = null, out: VectorPath = VectorPath()): VectorPath
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun VectorPath.toContext2dCommands(prefix: String = "ctx.", suffix: String = ";", decimalPlaces: Int = 1): List<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Shape.toNinePatchFromGuides(guideColor: RGBA = Colors.FUCHSIA, optimizeShape: Boolean = true): NinePatchShape
Link copied to clipboard
fun VectorPath.toStrokeShape(paint: Paint, thickness: Double = 1.0, pixelHinting: Boolean = false, scaleMode: LineScaleMode = LineScaleMode.NORMAL, startCap: LineCap = LineCap.BUTT, endCap: LineCap = LineCap.BUTT, lineJoin: LineJoin = LineJoin.MITER, miterLimit: Double = 20.0): Shape
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard