h2d.Graphics
h2d.Graphics
Inherits from: h2d.Drawable
Fields
| Name | Type | |
|---|---|---|
content | h2d._Graphics.GraphicsContent | |
tmpPoints | hl.types.ArrayObj | |
pindex | I32 | |
curR | F64 | |
curG | F64 | |
curB | F64 | |
curA | F64 | |
lineSize | F64 | |
lineR | F64 | |
lineG | F64 | |
lineB | F64 | |
lineA | F64 | |
doFill | Bool | |
xMin | F64 | |
yMin | F64 | |
xMax | F64 | |
yMax | F64 | |
ma | F64 | |
mb | F64 | |
mc | F64 | |
md | F64 | |
mx | F64 | |
my | F64 | |
tile | h2d.Tile | |
bevel | F64 | |
| static | EARCUT | hxd.earcut.Earcut |
Protos
f@3036onRemove(h2d.Graphics) → Voidf@3037clear(h2d.Graphics) → Voidf@3038getBoundsRec(h2d.Graphics, h2d.Object, h2d.col.Bounds, Bool) → Voidf@3039isConvex(h2d.Graphics, hl.types.ArrayObj) → Boolf@3040flushLine(h2d.Graphics, I32) → Voidf@3041flushFill(h2d.Graphics, I32) → Voidf@3042flush(h2d.Graphics) → Voidf@3043beginFill(h2d.Graphics, Ref, Ref) → Voidf@3044lineStyle(h2d.Graphics, Ref, Ref, Ref) → Voidf@3045endFill(h2d.Graphics) → Voidf@3046drawRect(h2d.Graphics, F64, F64, F64, F64) → Voidf@3047drawCircle(h2d.Graphics, F64, F64, F64, Ref) → Voidf@3048addVertex(h2d.Graphics, F64, F64, F64, F64, F64, F64, Ref, Ref) → Voidf@3049draw(h2d.Graphics, h2d.RenderContext) → Voidf@3050sync(h2d.Graphics, h2d.RenderContext) → Void
Bindings
- static
f@3058__constructor__(h2d.Graphics, h2d.Object) → Void