GraphicsDrawOptions
Defined in: sdk/src/render/graphics.ts:44
Where and how Graphics.flush draws. Every field is optional; none moves or fades anything.
Properties
Section titled “Properties”alpha?
Section titled “alpha?”
optionalalpha?:number
Defined in: sdk/src/render/graphics.ts:53
Multiplies every colour’s alpha: 0 draws nothing, 1 the drawing as recorded.
rotation?
Section titled “rotation?”
optionalrotation?:number
Defined in: sdk/src/render/graphics.ts:49
Turns the drawing about its own origin, in radians.
scale?
Section titled “scale?”
optionalscale?:number|Vec2
Defined in: sdk/src/render/graphics.ts:51
Scales the drawing about its own origin: one factor, or one each way.
optionaltint?:Color
Defined in: sdk/src/render/graphics.ts:55
Multiplies every colour.
optionalx?:number
Defined in: sdk/src/render/graphics.ts:46
Moves the drawing by this much, after it is turned and scaled about its own origin.
optionaly?:number
Defined in: sdk/src/render/graphics.ts:47