PolygonScanline

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Link copied to clipboard
class Bucket
Link copied to clipboard
class Buckets(pool: Pool<PolygonScanline.Bucket>, val ySize: Int)

Properties

Link copied to clipboard
val Int.d: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val hscale: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Double.s: Int
val Float.s: Int
Link copied to clipboard
val sscale: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun add(path: VectorPath)
fun add(p: Point, move: Boolean)
fun add(x: Double, y: Double, move: Boolean)
fun add(x: Float, y: Float, move: Boolean)
fun add(x: Int, y: Int, move: Boolean)
Link copied to clipboard
fun close()
Link copied to clipboard
fun containsPoint(p: Point, winding: Winding = this.winding): Boolean
fun containsPoint(x: Double, y: Double, winding: Winding = this.winding): Boolean
Link copied to clipboard
fun containsPointInt(x: Int, y: Int, winding: Winding = this.winding): Boolean
Link copied to clipboard
inline fun forEachPoint(callback: (x: Double, y: Double) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getLineIntersection(line: Line, out: LineIntersection = LineIntersection()): LineIntersection?
fun getLineIntersection(a: Point, b: Point, out: LineIntersection = LineIntersection()): LineIntersection?
fun getLineIntersection(a: PointInt, b: PointInt, out: LineIntersection = LineIntersection()): LineIntersection?
fun getLineIntersection(x0: Double, y0: Double, x1: Double, y1: Double, out: LineIntersection = LineIntersection()): LineIntersection?
fun getLineIntersection(x0: Int, y0: Int, x1: Int, y1: Int, out: LineIntersection = LineIntersection()): LineIntersection?
Link copied to clipboard
Link copied to clipboard
fun lineTo(p: Point)
fun lineTo(x: Double, y: Double)
Link copied to clipboard
fun moveTo(p: Point)
fun moveTo(x: Double, y: Double)
Link copied to clipboard
fun reset()
Link copied to clipboard
fun scanline(y: Int, winding: Winding, out: IntSegmentSet = IntSegmentSet()): IntSegmentSet