GraphicsPath

data class GraphicsPath(val path: VectorPath = VectorPath()) : IVectorPath, SizedDrawable, Extra

Constructors

Link copied to clipboard
constructor(path: VectorPath = VectorPath())

Properties

Link copied to clipboard
open override var extra: ExtraType
Link copied to clipboard
open override val height: Int
Link copied to clipboard
open override val lastMovePos: Point
Link copied to clipboard
open override val lastPos: Point
Link copied to clipboard
Link copied to clipboard
open override val totalPoints: Int
Link copied to clipboard
open override val width: Int

Functions

Link copied to clipboard
open override fun arc(center: Point, r: Double, start: Angle, end: Angle, counterclockwise: Boolean)
Link copied to clipboard
open override fun arcTo(a: Point, c: Point, r: Double)
open override fun arcTo(a: Point, c: Point, r: Float)
Link copied to clipboard
fun VectorBuilder.cfCubicTo(fcx1: Double, fcy1: Double, fcx2: Double, fcy2: Double, fax: Double, fay: Double)
Link copied to clipboard
Link copied to clipboard
fun VectorBuilder.cfrCubicTo(cx1: Double, cy1: Double, cx2: Double, cy2: Double, ax: Double, ay: Double)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun circle(circle: Circle)
open override fun circle(center: Point, radius: Double)
Link copied to clipboard
open override fun circleHole(circle: Circle)
open override fun circleHole(center: Point, radius: Double)
Link copied to clipboard
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun cubic(o: Point, c1: Point, c2: Point, a: Point)
Link copied to clipboard
open override fun cubicTo(c1: Point, c2: Point, a: Point)
open override fun cubicTo(c1x: Double, c1y: Double, c2x: Double, c2y: Double, ax: Double, ay: Double)
open override fun cubicTo(c1x: Float, c1y: Float, c2x: Float, c2y: Float, ax: Float, ay: Float)
open override fun cubicTo(c1x: Int, c1y: Int, c2x: Int, c2y: Int, ax: Int, ay: Int)
Link copied to clipboard
open override fun curve(curve: Bezier)
Link copied to clipboard
open override fun curves(curves: Curves)
open override fun curves(curves: List<Curves>)
Link copied to clipboard
open override fun draw(c: Context2d)
Link copied to clipboard
fun <T : Bitmap> Drawable.draw(out: T): T
Link copied to clipboard
open override fun ellipse(ellipse: Ellipse)
open override fun ellipse(bounds: Rectangle)
open override fun ellipse(center: Point, radius: Size)
Link copied to clipboard
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open override fun isNotEmpty(): Boolean
Link copied to clipboard
open override fun line(p0: Point, p1: Point)
Link copied to clipboard
open override fun lineTo(p: Point)
open override fun lineTo(x: Double, y: Double)
open override fun lineTo(x: Float, y: Float)
open override fun lineTo(x: Int, y: Int)
Link copied to clipboard
open override fun lineToH(x: Double)
Link copied to clipboard
open override fun lineToV(y: Double)
Link copied to clipboard
open override fun moveTo(p: Point)
open override fun moveTo(x: Double, y: Double)
open override fun moveTo(x: Float, y: Float)
open override fun moveTo(x: Int, y: Int)
Link copied to clipboard
open override fun moveToH(x: Double)
Link copied to clipboard
open override fun moveToV(y: Double)
Link copied to clipboard
open override fun parallelogram(bounds: Rectangle, angle: Angle, direction: Boolean)
Link copied to clipboard
fun VectorBuilder.pathSvg(path: String, m: Matrix = Matrix.NIL)
Link copied to clipboard
open override fun polygon(path: PointList, close: Boolean)
open override fun polygon(vararg path: Point, close: Boolean)
open override fun polygon(path: List<Point>, close: Boolean)
Link copied to clipboard
open override fun polyline(points: PointList, close: Boolean)
open override fun polyline(vararg points: Point, close: Boolean)
open override fun polyline(points: List<Point>, close: Boolean)
Link copied to clipboard
open override fun quad(o: Point, c: Point, a: Point)
Link copied to clipboard
open override fun quadTo(c: Point, a: Point)
open override fun quadTo(cx: Double, cy: Double, ax: Double, ay: Double)
open override fun quadTo(cx: Float, cy: Float, ax: Float, ay: Float)
open override fun quadTo(cx: Int, cy: Int, ax: Int, ay: Int)
Link copied to clipboard
fun SizedDrawable.raster(scaleX: Double = 1.0, scaleY: Double = scaleX): NativeImage
Link copied to clipboard
open override fun rCubicTo(c1: Point, c2: Point, a: Point)
open override fun rCubicTo(c1: Point, c2: Point, a: Point, relative: Boolean)
Link copied to clipboard
open override fun rect(rect: Rectangle)
open override fun rect(rect: RectangleInt)
open override fun rect(pos: Point, size: Size)
open override fun rect(x: Double, y: Double, width: Double, height: Double)
open override fun rect(x: Float, y: Float, width: Float, height: Float)
open override fun rect(x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
open override fun rectHole(rect: Rectangle)
open override fun rectHole(x: Double, y: Double, width: Double, height: Double)
open override fun rectHole(x: Float, y: Float, width: Float, height: Float)
open override fun rectHole(x: Int, y: Int, width: Int, height: Int)
Link copied to clipboard
open override fun regularPolygon(points: Int, radius: Double, rotated: Angle, x: Double, y: Double)
Link copied to clipboard
open override fun regularPolygonHole(points: Int, radius: Double, rotated: Angle, x: Double, y: Double)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Drawable.renderToImage(width: Int, height: Int): NativeImage
fun Drawable.renderToImage(width: Int, height: Int, native: Boolean): Bitmap
Link copied to clipboard
open override fun rLineTo(delta: Point)
open override fun rLineTo(a: Point, relative: Boolean)
Link copied to clipboard
open override fun rLineToH(x: Double)
open override fun rLineToH(x: Double, relative: Boolean)
Link copied to clipboard
open override fun rLineToHV(value: Double, horizontal: Boolean)
Link copied to clipboard
open override fun rLineToV(y: Double)
open override fun rLineToV(y: Double, relative: Boolean)
Link copied to clipboard
open override fun rMoveTo(delta: Point)
open override fun rMoveTo(a: Point, relative: Boolean)
Link copied to clipboard
open override fun rMoveToH(x: Double)
open override fun rMoveToH(x: Double, relative: Boolean)
Link copied to clipboard
open override fun rMoveToHV(value: Double, horizontal: Boolean)
Link copied to clipboard
open override fun rMoveToV(y: Double)
open override fun rMoveToV(y: Double, relative: Boolean)
Link copied to clipboard
open override fun roundRect(rect: RoundRectangle)
open override fun roundRect(x: Double, y: Double, w: Double, h: Double, rx: Double, ry: Double)
open override fun roundRect(x: Float, y: Float, w: Float, h: Float, rx: Float, ry: Float)
open override fun roundRect(x: Int, y: Int, w: Int, h: Int, rx: Int, ry: Int)
open override fun roundRect(x: Double, y: Double, w: Double, h: Double, rtl: Double, rtr: Double, rbr: Double, rbl: Double)
Link copied to clipboard
open override fun rQuadTo(c: Point, a: Point)
open override fun rQuadTo(c: Point, a: Point, relative: Boolean)
Link copied to clipboard
fun SizedDrawable.scaled(sx: Number = 1.0, sy: Number = sx): SizedDrawable
Link copied to clipboard
suspend fun SizedDrawable.showImageAndWait(kind: Int = 0)
Link copied to clipboard
open override fun star(points: Int, radiusSmall: Double, radiusBig: Double, rotated: Angle, x: Double, y: Double)
Link copied to clipboard
open override fun starHole(points: Int, radiusSmall: Double, radiusBig: Double, rotated: Angle, x: Double, y: Double)
Link copied to clipboard
fun <T> VectorBuilder.text(text: T, font: VectorFont, textSize: Double = 16.0, pos: Point = Point.ZERO, align: TextAlignment = TextAlignment.BASELINE_LEFT, renderer: TextRenderer<T> = DefaultStringTextRenderer as TextRenderer<T>)
Link copied to clipboard
fun Drawable.toShape(width: Int, height: Int): Shape
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun SizedDrawable.toSvg(scale: Double = 1.0): Xml
fun Drawable.toSvg(width: Int, height: Int, scale: Double = 1.0): Xml
Link copied to clipboard
open override fun toSvgString(): String
Link copied to clipboard
open override fun transformed(m: Matrix): VectorBuilder
open override fun <T> transformed(m: Matrix, block: VectorBuilder.() -> T): T
Link copied to clipboard
Link copied to clipboard
open override fun write(curves: Curves)
open override fun write(curves: List<Curves>)