Class type Graphics-PIXI._t

inherit PIXI.C.container
method blendMode#=: Js.Internal.meth([ `Arity_1(int) ], unit)

The blend mode to be applied to the graphic shape. Apply a value of PIXI.BLEND_MODES.NORMAL to reset the blend mode.

method blendMode: int

The blend mode to be applied to the graphic shape. Apply a value of PIXI.BLEND_MODES.NORMAL to reset the blend mode.

method fill: PIXI.FillStyle.t

The current fill style.

method geometry: PIXI.GraphicsGeometry.t

Includes vertex positions, face indices, normals, colors, UVs, and custom attributes within buffers, reducing the cost of passing all this data to the GPU. Can be shared between multiple Mesh or Graphics objects.

method line: PIXI.LineStyle.t

The current line style.

method pluginName#=: Js.Internal.meth([ `Arity_1(string) ], unit)

Renderer plugin for batching

method pluginName: string

Renderer plugin for batching

method shader#=: Js.Internal.meth([ `Arity_1(Js.t(PIXI.Shader.#_t)) ], unit)

Represents the vertex and fragment shaders that processes the geometry and runs on the GPU. Can be shared between multiple Graphics objects.

method shader: Js.t(PIXI.Shader.#_t)

Represents the vertex and fragment shaders that processes the geometry and runs on the GPU. Can be shared between multiple Graphics objects.

method state#=: Js.Internal.meth([ `Arity_1(PIXI.State.t) ], unit)

Represents the WebGL state the Graphics required to render, excludes shader and geometry. E.g., blend mode, culling, depth testing, direction of rendering triangles, backface, etc.

method state: PIXI.State.t

Represents the WebGL state the Graphics required to render, excludes shader and geometry. E.g., blend mode, culling, depth testing, direction of rendering triangles, backface, etc.

method tint#=: Js.Internal.meth([ `Arity_1(int) ], unit)

The tint applied to the graphic shape. This is a hex value. A value of 0xFFFFFF will remove any tint effect.

method tint: int

The tint applied to the graphic shape. This is a hex value. A value of 0xFFFFFF will remove any tint effect.