Skip to content

h2d.Graphics

h2d.Graphics

Inherits from: h2d.Drawable

Fields

NameType
contenth2d._Graphics.GraphicsContent
tmpPointshl.types.ArrayObj
pindexI32
curRF64
curGF64
curBF64
curAF64
lineSizeF64
lineRF64
lineGF64
lineBF64
lineAF64
doFillBool
xMinF64
yMinF64
xMaxF64
yMaxF64
maF64
mbF64
mcF64
mdF64
mxF64
myF64
tileh2d.Tile
bevelF64
staticEARCUThxd.earcut.Earcut

Protos

  • f@3036 onRemove(h2d.Graphics) → Void
  • f@3037 clear(h2d.Graphics) → Void
  • f@3038 getBoundsRec(h2d.Graphics, h2d.Object, h2d.col.Bounds, Bool) → Void
  • f@3039 isConvex(h2d.Graphics, hl.types.ArrayObj) → Bool
  • f@3040 flushLine(h2d.Graphics, I32) → Void
  • f@3041 flushFill(h2d.Graphics, I32) → Void
  • f@3042 flush(h2d.Graphics) → Void
  • f@3043 beginFill(h2d.Graphics, Ref, Ref) → Void
  • f@3044 lineStyle(h2d.Graphics, Ref, Ref, Ref) → Void
  • f@3045 endFill(h2d.Graphics) → Void
  • f@3046 drawRect(h2d.Graphics, F64, F64, F64, F64) → Void
  • f@3047 drawCircle(h2d.Graphics, F64, F64, F64, Ref) → Void
  • f@3048 addVertex(h2d.Graphics, F64, F64, F64, F64, F64, F64, Ref, Ref) → Void
  • f@3049 draw(h2d.Graphics, h2d.RenderContext) → Void
  • f@3050 sync(h2d.Graphics, h2d.RenderContext) → Void

Bindings

  • static f@3058 __constructor__(h2d.Graphics, h2d.Object) → Void