Winter Cardinal UI - v0.442.0 / DChartPlotAreaTwofoldOverflowMaskSecondary

Class: DChartPlotAreaTwofoldOverflowMaskSecondary

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DChartPlotAreaTwofoldOverflowMaskSecondary(parent): DChartPlotAreaTwofoldOverflowMaskSecondary

Parameters

Name Type
parent DBase<DThemeBase, DBaseOptions<DThemeBase, any>>

Returns

DChartPlotAreaTwofoldOverflowMaskSecondary

Inherited from

DBaseOverflowMaskSimple.constructor

Defined in

src/main/typescript/wcardinal/ui/d-base-overflow-mask-simple.ts:15

Properties

_accessibleActive

_accessibleActive: boolean

Member

Memberof

PIXI.DisplayObject#

Todo

Needs docs.

Inherited from

DBaseOverflowMaskSimple._accessibleActive

Defined in

node_modules/pixi.js/pixi.js.d.ts:10383


_accessibleDiv

_accessibleDiv: boolean

Member

Memberof

PIXI.DisplayObject#

Todo

Needs docs.

Inherited from

DBaseOverflowMaskSimple._accessibleDiv

Defined in

node_modules/pixi.js/pixi.js.d.ts:10389


_bounds

_bounds: Bounds

The bounds object, this is used to calculate and store the bounds of the displayObject.

Member

PIXI.DisplayObject#_bounds

Inherited from

DBaseOverflowMaskSimple._bounds

Defined in

node_modules/pixi.js/pixi.js.d.ts:10505


_boundsID

Protected _boundsID: number

Flags the cached bounds as dirty.

Member

PIXI.DisplayObject#_boundsID

Inherited from

DBaseOverflowMaskSimple._boundsID

Defined in

node_modules/pixi.js/pixi.js.d.ts:10518


_boundsRect

Protected _boundsRect: Bounds

Cache of this display-object’s bounds-rectangle.

Member

PIXI.DisplayObject#_boundsRect

Inherited from

DBaseOverflowMaskSimple._boundsRect

Defined in

node_modules/pixi.js/pixi.js.d.ts:10525


_destroyed

Protected _destroyed: boolean

If the object has been destroyed via destroy(). If true, it should not be used.

Member

PIXI.DisplayObject#_destroyed

Inherited from

DBaseOverflowMaskSimple._destroyed

Defined in

node_modules/pixi.js/pixi.js.d.ts:10546


_enabledFilters

Protected _enabledFilters: Filter[]

Currently enabled filters

Member

PIXI.DisplayObject#_enabledFilters

Inherited from

DBaseOverflowMaskSimple._enabledFilters

Defined in

node_modules/pixi.js/pixi.js.d.ts:10499


_fillStyle

Protected _fillStyle: FillStyle

Current fill style

Member

PIXI.Graphics#_fillStyle

Inherited from

DBaseOverflowMaskSimple._fillStyle

Defined in

node_modules/pixi.js/pixi.js.d.ts:9633


_height

Protected _height: number

Inherited from

DBaseOverflowMaskSimple._height

Defined in

src/main/typescript/wcardinal/ui/d-base-overflow-mask-simple.ts:13


_holeMode

Protected _holeMode: boolean

Current hole mode is enabled.

Member

PIXI.Graphics#_holeMode

Default

false
@protected

Inherited from

DBaseOverflowMaskSimple._holeMode

Defined in

node_modules/pixi.js/pixi.js.d.ts:9655


_isInitialized

Protected _isInitialized: boolean

Inherited from

DBaseOverflowMaskSimple._isInitialized

Defined in

src/main/typescript/wcardinal/ui/d-base-overflow-mask-simple.ts:11


_lastSortedIndex

Protected _lastSortedIndex: number

Which index in the children array the display component was before the previous zIndex sort. Used by containers to help sort objects with the same zIndex, by using previous array index as the decider.

Member

PIXI.DisplayObject#_lastSortedIndex

Inherited from

DBaseOverflowMaskSimple._lastSortedIndex

Defined in

node_modules/pixi.js/pixi.js.d.ts:10468


_lineStyle

Protected _lineStyle: LineStyle

Current line style

Member

PIXI.Graphics#_lineStyle

Inherited from

DBaseOverflowMaskSimple._lineStyle

Defined in

node_modules/pixi.js/pixi.js.d.ts:9640


_localBounds

_localBounds: Bounds

Local bounds object, swapped with _bounds when using getLocalBounds().

Member

PIXI.DisplayObject#_localBounds

Inherited from

DBaseOverflowMaskSimple._localBounds

Defined in

node_modules/pixi.js/pixi.js.d.ts:10511


_localBoundsRect

Protected _localBoundsRect: Bounds

Cache of this display-object’s local-bounds rectangle.

Member

PIXI.DisplayObject#_localBoundsRect

Inherited from

DBaseOverflowMaskSimple._localBoundsRect

Defined in

node_modules/pixi.js/pixi.js.d.ts:10532


_mask

Protected _mask: null | Container | MaskData

The original, cached mask of the object.

Member

PIXI.DisplayObject#_mask

Inherited from

DBaseOverflowMaskSimple._mask

Defined in

node_modules/pixi.js/pixi.js.d.ts:10539


_matrix

Protected _matrix: Matrix

Current shape transform matrix.

Member

PIXI.Graphics#_matrix

Inherited from

DBaseOverflowMaskSimple._matrix

Defined in

node_modules/pixi.js/pixi.js.d.ts:9647


_tempDisplayObjectParent

Protected _tempDisplayObjectParent: Container

Member

Inherited from

DBaseOverflowMaskSimple._tempDisplayObjectParent

Defined in

node_modules/pixi.js/pixi.js.d.ts:10619


_width

Protected _width: number

Inherited from

DBaseOverflowMaskSimple._width

Defined in

src/main/typescript/wcardinal/ui/d-base-overflow-mask-simple.ts:12


_zIndex

Protected _zIndex: number

The zIndex of the displayObject. A higher value will mean it will be rendered on top of other displayObjects within the same container.

Member

PIXI.DisplayObject#_zIndex

Inherited from

DBaseOverflowMaskSimple._zIndex

Defined in

node_modules/pixi.js/pixi.js.d.ts:10476


accessible

accessible: boolean

Flag for if the object is accessible. If true AccessibilityManager will overlay a shadow div with attributes set

Member

Memberof

PIXI.DisplayObject#

Inherited from

DBaseOverflowMaskSimple.accessible

Defined in

node_modules/pixi.js/pixi.js.d.ts:10362


accessibleChildren

accessibleChildren: boolean

Setting to false will prevent any children inside this container to be accessible. Defaults to true.

Member

Memberof

PIXI.DisplayObject#

Default

true

Inherited from

DBaseOverflowMaskSimple.accessibleChildren

Defined in

node_modules/pixi.js/pixi.js.d.ts:10416


accessibleHint

accessibleHint: string

Sets the aria-label attribute of the shadow div

Member

Memberof

PIXI.DisplayObject#

Inherited from

DBaseOverflowMaskSimple.accessibleHint

Defined in

node_modules/pixi.js/pixi.js.d.ts:10377


accessiblePointerEvents

accessiblePointerEvents: string

Specify the pointer-events the accessible div will use Defaults to auto.

Member

Memberof

PIXI.DisplayObject#

Default

'auto'

Inherited from

DBaseOverflowMaskSimple.accessiblePointerEvents

Defined in

node_modules/pixi.js/pixi.js.d.ts:10407


accessibleTitle

accessibleTitle: string

Sets the title attribute of the shadow div If accessibleTitle AND accessibleHint has not been this will default to ‘displayObject [tabIndex]’

Member

Memberof

PIXI.DisplayObject#

Inherited from

DBaseOverflowMaskSimple.accessibleTitle

Defined in

node_modules/pixi.js/pixi.js.d.ts:10370


accessibleType

accessibleType: string

Specify the type of div the accessible layer is. Screen readers treat the element differently depending on this type. Defaults to button.

Member

Memberof

PIXI.DisplayObject#

Default

'button'

Inherited from

DBaseOverflowMaskSimple.accessibleType

Defined in

node_modules/pixi.js/pixi.js.d.ts:10398


alpha

alpha: number

The opacity of the object.

Member

PIXI.DisplayObject#alpha

Inherited from

DBaseOverflowMaskSimple.alpha

Defined in

node_modules/pixi.js/pixi.js.d.ts:10429


angle

angle: number

The angle of the object in degrees. ‘rotation’ and ‘angle’ have the same effect on a display object; rotation is in radians, angle is in degrees.

Member

Inherited from

DBaseOverflowMaskSimple.angle

Defined in

node_modules/pixi.js/pixi.js.d.ts:10706


batchDirty

Protected batchDirty: number

Update dirty for limiting calculating batches.

Member

PIXI.Graphics#batchDirty

Default

-1

Inherited from

DBaseOverflowMaskSimple.batchDirty

Defined in

node_modules/pixi.js/pixi.js.d.ts:9698


batchTint

Protected batchTint: number

Update dirty for limiting calculating tints for batches.

Member

PIXI.Graphics#batchTint

Default

-1

Inherited from

DBaseOverflowMaskSimple.batchTint

Defined in

node_modules/pixi.js/pixi.js.d.ts:9690


batches

Protected batches: any[]

A collections of batches! These can be drawn by the renderer batch system.

Member

PIXI.Graphics#batches

Inherited from

DBaseOverflowMaskSimple.batches

Defined in

node_modules/pixi.js/pixi.js.d.ts:9682


blendMode

blendMode: number

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

Member

Default

PIXI.BLEND_MODES.NORMAL;

See

PIXI.BLEND_MODES

Inherited from

DBaseOverflowMaskSimple.blendMode

Defined in

node_modules/pixi.js/pixi.js.d.ts:9737


buttonMode

buttonMode: boolean

If enabled, the mouse cursor use the pointer behavior when hovered over the displayObject if it is interactive Setting this changes the ‘cursor’ property to 'pointer'.

Example

const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.buttonMode = true;

Member

Memberof

PIXI.DisplayObject#

Inherited from

DBaseOverflowMaskSimple.buttonMode

Defined in

node_modules/pixi.js/pixi.js.d.ts:10788


cacheAsBitmap

cacheAsBitmap: boolean

When cacheAsBitmap is set to true the graphics object will be rendered as if it was a sprite. This is useful if your graphics element does not change often, as it will speed up the rendering of the object in exchange for taking up texture memory. It is also useful if you need the graphics object to be anti-aliased, because it will be rendered using canvas. This is not recommended if you are constantly redrawing the graphics element.

Name

cacheAsBitmap

Member

Memberof

PIXI.Graphics#

Default

false

Inherited from

DBaseOverflowMaskSimple.cacheAsBitmap

Defined in

node_modules/pixi.js/pixi.js.d.ts:9675


children

Readonly children: DisplayObject[]

The array of children of this container.

Member

PIXI.Container#children

Inherited from

DBaseOverflowMaskSimple.children

Defined in

node_modules/pixi.js/pixi.js.d.ts:10183


currentPath

Protected currentPath: Polygon

Current path

Member

PIXI.Graphics#currentPath

Inherited from

DBaseOverflowMaskSimple.currentPath

Defined in

node_modules/pixi.js/pixi.js.d.ts:9662


cursor

cursor: string

This defines what cursor mode is used when the mouse cursor is hovered over the displayObject.

Example

const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.cursor = 'wait';

See

https://developer.mozilla.org/en/docs/Web/CSS/cursor

Member

Memberof

PIXI.DisplayObject#

Inherited from

DBaseOverflowMaskSimple.cursor

Defined in

node_modules/pixi.js/pixi.js.d.ts:10802


fill

Readonly fill: FillStyle

The current fill style.

Member

Inherited from

DBaseOverflowMaskSimple.fill

Defined in

node_modules/pixi.js/pixi.js.d.ts:9752


filterArea

filterArea: Rectangle

The area the filter is applied to. This is used as more of an optimization rather than figuring out the dimensions of the displayObject each frame you can set this rectangle.

Also works as an interaction mask.

Member

PIXI.DisplayObject#filterArea

Inherited from

DBaseOverflowMaskSimple.filterArea

Defined in

node_modules/pixi.js/pixi.js.d.ts:10485


filters

filters: Filter[]

Sets the filters for the displayObject.

Member

PIXI.DisplayObject#filters

Inherited from

DBaseOverflowMaskSimple.filters

Defined in

node_modules/pixi.js/pixi.js.d.ts:10493


geometry

Readonly geometry: GraphicsGeometry

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.

Member

Inherited from

DBaseOverflowMaskSimple.geometry

Defined in

node_modules/pixi.js/pixi.js.d.ts:9721


height

height: number

The height of the Container, setting this will actually modify the scale to achieve the value set

Member

Inherited from

DBaseOverflowMaskSimple.height

Defined in

node_modules/pixi.js/pixi.js.d.ts:10326


hitArea

hitArea: IHitArea

Interaction shape. Children will be hit first, then this shape will be checked. Setting this will cause this shape to be checked in hit tests rather than the displayObject’s bounds.

Example

const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.hitArea = new PIXI.Rectangle(0, 0, 100, 100);

Member

Memberof

PIXI.DisplayObject#

Inherited from

DBaseOverflowMaskSimple.hitArea

Defined in

node_modules/pixi.js/pixi.js.d.ts:10776


interactive

interactive: boolean

Enable interaction events for the DisplayObject. Touch, pointer and mouse events will not be emitted unless interactive is set to true.

Example

const sprite = new PIXI.Sprite(texture);
sprite.interactive = true;
sprite.on('tap', (event) => {
   //handle event
});

Member

Memberof

PIXI.DisplayObject#

Inherited from

DBaseOverflowMaskSimple.interactive

Defined in

node_modules/pixi.js/pixi.js.d.ts:10764


interactiveChildren

interactiveChildren: boolean

Determines if the children to the displayObject can be clicked/touched Setting this to false allows PixiJS to bypass a recursive hitTest function

Member

Memberof

PIXI.Container#

Inherited from

DBaseOverflowMaskSimple.interactiveChildren

Defined in

node_modules/pixi.js/pixi.js.d.ts:10342


isMask

isMask: boolean

Does any other displayObject use this object as a mask?

Member

PIXI.DisplayObject#isMask

Inherited from

DBaseOverflowMaskSimple.isMask

Defined in

node_modules/pixi.js/pixi.js.d.ts:10556


isSprite

isSprite: boolean

used to fast check if a sprite is.. a sprite!

Member

PIXI.DisplayObject#isSprite

Inherited from

DBaseOverflowMaskSimple.isSprite

Defined in

node_modules/pixi.js/pixi.js.d.ts:10551


line

Readonly line: LineStyle

The current line style.

Member

Inherited from

DBaseOverflowMaskSimple.line

Defined in

node_modules/pixi.js/pixi.js.d.ts:9759


localTransform

Readonly localTransform: Matrix

Current transform of the object based on local factors: position, scale, other stuff.

Member

Inherited from

DBaseOverflowMaskSimple.localTransform

Defined in

node_modules/pixi.js/pixi.js.d.ts:10664


mask

mask: null | Container | MaskData

Sets a mask for the displayObject. A mask is an object that limits the visibility of an object to the shape of the mask applied to it. In PixiJS a regular mask must be a PIXI.Graphics or a PIXI.Sprite object. This allows for much faster masking in canvas as it utilities shape clipping. To remove a mask, set this property to null.

For sprite mask both alpha and red channel are used. Black mask is the same as transparent mask.

Example

const graphics = new PIXI.Graphics();
graphics.beginFill(0xFF3300);
graphics.drawRect(50, 250, 100, 100);
graphics.endFill();

const sprite = new PIXI.Sprite(texture);
sprite.mask = graphics;

Todo

At the moment, PIXI.CanvasRenderer doesn’t support PIXI.Sprite as mask.

Member

Inherited from

DBaseOverflowMaskSimple.mask

Defined in

node_modules/pixi.js/pixi.js.d.ts:10742


name

name: string

The instance name of the object.

Memberof

PIXI.DisplayObject#

Member

name

Inherited from

DBaseOverflowMaskSimple.name

Defined in

node_modules/pixi.js/pixi.js.d.ts:10809


parent

parent: Container

The display object container that contains this display object.

Member

PIXI.DisplayObject#parent

Inherited from

DBaseOverflowMaskSimple.parent

Defined in

node_modules/pixi.js/pixi.js.d.ts:10453


pivot

pivot: ObservablePoint

The pivot point of the displayObject that it rotates around. Assignment by value since pixi-v4.

Member

Inherited from

DBaseOverflowMaskSimple.pivot

Defined in

node_modules/pixi.js/pixi.js.d.ts:10685


pluginName

pluginName: string

Renderer plugin for batching

Member

PIXI.Graphics#pluginName

Default

'batch'

Inherited from

DBaseOverflowMaskSimple.pluginName

Defined in

node_modules/pixi.js/pixi.js.d.ts:9712


position

position: ObservablePoint

The coordinate of the object relative to the local coordinates of the parent. Assignment by value since pixi-v4.

Member

Inherited from

DBaseOverflowMaskSimple.position

Defined in

node_modules/pixi.js/pixi.js.d.ts:10671


renderable

renderable: boolean

Can this object be rendered, if false the object will not be drawn but the updateTransform methods will still be called.

Only affects recursive calls from parent. You can ask for bounds manually.

Member

PIXI.DisplayObject#renderable

Inherited from

DBaseOverflowMaskSimple.renderable

Defined in

node_modules/pixi.js/pixi.js.d.ts:10447


rotation

rotation: number

The rotation of the object in radians. ‘rotation’ and ‘angle’ have the same effect on a display object; rotation is in radians, angle is in degrees.

Member

Inherited from

DBaseOverflowMaskSimple.rotation

Defined in

node_modules/pixi.js/pixi.js.d.ts:10699


scale

scale: ObservablePoint

The scale factor of the object. Assignment by value since pixi-v4.

Member

Inherited from

DBaseOverflowMaskSimple.scale

Defined in

node_modules/pixi.js/pixi.js.d.ts:10678


shader

shader: Shader

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

Member

PIXI.Graphics#shader

Inherited from

DBaseOverflowMaskSimple.shader

Defined in

node_modules/pixi.js/pixi.js.d.ts:9619


skew

skew: ObservablePoint

The skew factor for the object in radians. Assignment by value since pixi-v4.

Member

Inherited from

DBaseOverflowMaskSimple.skew

Defined in

node_modules/pixi.js/pixi.js.d.ts:10692


sortDirty

sortDirty: boolean

Should children be sorted by zIndex at the next updateTransform call. Will get automatically set to true if a new child is added, or if a child’s zIndex changes.

Member

PIXI.Container#sortDirty

Inherited from

DBaseOverflowMaskSimple.sortDirty

Defined in

node_modules/pixi.js/pixi.js.d.ts:10206


sortableChildren

sortableChildren: boolean

If set to true, the container will sort its children by zIndex value when updateTransform() is called, or manually if sortChildren() is called.

This actually changes the order of elements in the array, so should be treated as a basic solution that is not performant compared to other solutions, such as

Link

https://github.com/pixijs/pixi-display

Also be aware of that this may not work nicely with the addChildAt() function, as the zIndex sorting may cause the child to automatically sorted to another position.

See

PIXI.settings.SORTABLE_CHILDREN

Member

PIXI.Container#sortableChildren

Inherited from

DBaseOverflowMaskSimple.sortableChildren

Defined in

node_modules/pixi.js/pixi.js.d.ts:10199


state

state: State

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.

Member

PIXI.Graphics#state

Inherited from

DBaseOverflowMaskSimple.state

Defined in

node_modules/pixi.js/pixi.js.d.ts:9626


tint

tint: number

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

Member

Default

0xFFFFFF

Inherited from

DBaseOverflowMaskSimple.tint

Defined in

node_modules/pixi.js/pixi.js.d.ts:9745


transform

transform: Transform

World transform and local transform of this object. This will become read-only later, please do not assign anything there unless you know what are you doing.

Member

PIXI.DisplayObject#transform

Inherited from

DBaseOverflowMaskSimple.transform

Defined in

node_modules/pixi.js/pixi.js.d.ts:10423


vertexData

Protected vertexData: Float32Array

Copy of the object vertex data.

Member

PIXI.Graphics#vertexData

Inherited from

DBaseOverflowMaskSimple.vertexData

Defined in

node_modules/pixi.js/pixi.js.d.ts:9705


visible

visible: boolean

The visibility of the object. If false the object will not be drawn, and the updateTransform function will not be called.

Only affects recursive calls from parent. You can ask for bounds or call updateTransform manually.

Member

PIXI.DisplayObject#visible

Inherited from

DBaseOverflowMaskSimple.visible

Defined in

node_modules/pixi.js/pixi.js.d.ts:10438


width

width: number

The width of the Container, setting this will actually modify the scale to achieve the value set

Member

Inherited from

DBaseOverflowMaskSimple.width

Defined in

node_modules/pixi.js/pixi.js.d.ts:10320


worldAlpha

Readonly worldAlpha: number

The multiplied alpha of the displayObject.

Member

PIXI.DisplayObject#worldAlpha

Inherited from

DBaseOverflowMaskSimple.worldAlpha

Defined in

node_modules/pixi.js/pixi.js.d.ts:10460


worldTransform

Readonly worldTransform: Matrix

Current transform of the object based on world (parent) factors.

Member

Inherited from

DBaseOverflowMaskSimple.worldTransform

Defined in

node_modules/pixi.js/pixi.js.d.ts:10657


worldVisible

Readonly worldVisible: boolean

Indicates if the object is globally visible.

Member

Inherited from

DBaseOverflowMaskSimple.worldVisible

Defined in

node_modules/pixi.js/pixi.js.d.ts:10722


x

x: number

The position of the displayObject on the x axis relative to the local coordinates of the parent. An alias to position.x

Member

Inherited from

DBaseOverflowMaskSimple.x

Defined in

node_modules/pixi.js/pixi.js.d.ts:10643


y

y: number

The position of the displayObject on the y axis relative to the local coordinates of the parent. An alias to position.y

Member

Inherited from

DBaseOverflowMaskSimple.y

Defined in

node_modules/pixi.js/pixi.js.d.ts:10650


zIndex

zIndex: number

The zIndex of the displayObject. If a container has the sortableChildren property set to true, children will be automatically sorted by zIndex value; a higher value will mean it will be moved towards the end of the array, and thus rendered on top of other displayObjects within the same container.

Member

Inherited from

DBaseOverflowMaskSimple.zIndex

Defined in

node_modules/pixi.js/pixi.js.d.ts:10715

Methods

_calculateBounds

_calculateBounds(): void

Retrieves the bounds of the graphic shape as a rectangle object

Returns

void

Inherited from

DBaseOverflowMaskSimple._calculateBounds

Defined in

node_modules/pixi.js/pixi.js.d.ts:10057


_initCurve

_initCurve(x?, y?): void

Initialize the curve

Parameters

Name Type
x? number
y? number

Returns

void

Inherited from

DBaseOverflowMaskSimple._initCurve

Defined in

node_modules/pixi.js/pixi.js.d.ts:9849


_populateBatches

_populateBatches(): void

Populating batches for rendering

Returns

void

Inherited from

DBaseOverflowMaskSimple._populateBatches

Defined in

node_modules/pixi.js/pixi.js.d.ts:10023


_recursivePostUpdateTransform

_recursivePostUpdateTransform(): void

Recursively updates transform of all objects from the root to this one internal function for toLocal()

Returns

void

Inherited from

DBaseOverflowMaskSimple._recursivePostUpdateTransform

Defined in

node_modules/pixi.js/pixi.js.d.ts:10561


_render

_render(renderer): void

Renders the object using the WebGL renderer

Parameters

Name Type Description
renderer Renderer The renderer

Returns

void

Inherited from

DBaseOverflowMaskSimple._render

Defined in

node_modules/pixi.js/pixi.js.d.ts:10017


_renderBatched

_renderBatched(renderer): void

Renders the batches using the BathedRenderer plugin

Parameters

Name Type Description
renderer Renderer The renderer

Returns

void

Inherited from

DBaseOverflowMaskSimple._renderBatched

Defined in

node_modules/pixi.js/pixi.js.d.ts:10030


_renderDirect

_renderDirect(renderer): void

Renders the graphics direct

Parameters

Name Type Description
renderer Renderer The renderer

Returns

void

Inherited from

DBaseOverflowMaskSimple._renderDirect

Defined in

node_modules/pixi.js/pixi.js.d.ts:10037


_renderDrawCallDirect

_renderDrawCallDirect(renderer, drawCall): void

Renders specific DrawCall

Parameters

Name Type
renderer Renderer
drawCall BatchDrawCall

Returns

void

Inherited from

DBaseOverflowMaskSimple._renderDrawCallDirect

Defined in

node_modules/pixi.js/pixi.js.d.ts:10044


_resolveDirectShader

_resolveDirectShader(renderer): void

Resolves shader for direct rendering

Parameters

Name Type Description
renderer Renderer The renderer

Returns

void

Inherited from

DBaseOverflowMaskSimple._resolveDirectShader

Defined in

node_modules/pixi.js/pixi.js.d.ts:10051


addChild

addChild<TChildren>(...children): TChildren[0]

Adds one or more children to the container.

Multiple items can be added like so: myContainer.addChild(thingOne, thingTwo, thingThree)

Type parameters

Name Type
TChildren extends DisplayObject[]

Parameters

Name Type Description
...children TChildren The DisplayObject(s) to add to the container

Returns

TChildren[0]

The first child that was added.

Inherited from

DBaseOverflowMaskSimple.addChild

Defined in

node_modules/pixi.js/pixi.js.d.ts:10221


addChildAt

addChildAt<T>(child, index): T

Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown

Type parameters

Name Type
T extends DisplayObject

Parameters

Name Type Description
child T The child to add
index number The index to place the child in

Returns

T

The child that was added.

Inherited from

DBaseOverflowMaskSimple.addChildAt

Defined in

node_modules/pixi.js/pixi.js.d.ts:10229


addListener

addListener(event, fn, context?): this

Parameters

Name Type
event InteractionEventTypes
fn (event: InteractionEvent) => void
context? any

Returns

this

Inherited from

DBaseOverflowMaskSimple.addListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25521

addListener(event, fn, context?): this

Parameters

Name Type
event string | symbol
fn Function
context? any

Returns

this

Inherited from

DBaseOverflowMaskSimple.addListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25523


arc

arc(cx, cy, radius, startAngle, endAngle, anticlockwise?): Graphics

The arc method creates an arc/curve (used to create circles, or parts of circles).

Parameters

Name Type Description
cx number The x-coordinate of the center of the circle
cy number The y-coordinate of the center of the circle
radius number The radius of the circle
startAngle number The starting angle, in radians (0 is at the 3 o’clock position of the arc’s circle)
endAngle number The ending angle, in radians
anticlockwise? boolean Specifies whether the drawing should be counter-clockwise or clockwise. False is default, and indicates clockwise, while true indicates counter-clockwise.

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.arc

Defined in

node_modules/pixi.js/pixi.js.d.ts:9900


arcTo

arcTo(x1, y1, x2, y2, radius): Graphics

The arcTo() method creates an arc/curve between two tangents on the canvas.

“borrowed” from https://code.google.com/p/fxcanvas/ - thanks google!

Parameters

Name Type Description
x1 number The x-coordinate of the first tangent point of the arc
y1 number The y-coordinate of the first tangent point of the arc
x2 number The x-coordinate of the end of the arc
y2 number The y-coordinate of the end of the arc
radius number The radius of the arc

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.arcTo

Defined in

node_modules/pixi.js/pixi.js.d.ts:9885


beginFill

beginFill(color?, alpha?): Graphics

Specifies a simple one-color fill that subsequent calls to other Graphics methods (such as lineTo() or drawCircle()) use when drawing.

Parameters

Name Type Description
color? number the color of the fill
alpha? number the alpha of the fill

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.beginFill

Defined in

node_modules/pixi.js/pixi.js.d.ts:9909


beginHole

beginHole(): Graphics

Begin adding holes to the last draw shape IMPORTANT: holes must be fully inside a shape to work Also weirdness ensues if holes overlap! Ellipses, Circles, Rectangles and Rounded Rectangles cannot be holes or host for holes in CanvasRenderer, please use moveTo lineTo, quadraticCurveTo if you rely on pixi-legacy bundle.

Returns

Graphics

Returns itself.

Inherited from

DBaseOverflowMaskSimple.beginHole

Defined in

node_modules/pixi.js/pixi.js.d.ts:10097


beginTextureFill

beginTextureFill(options?): Graphics

Begin the texture fill

Parameters

Name Type Description
options? Object Object object.
options.alpha? number Alpha of fill
options.color? number Background to fill behind texture
options.matrix? Matrix Transform matrix
options.texture? Texture Texture to fill

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.beginTextureFill

Defined in

node_modules/pixi.js/pixi.js.d.ts:9920


bezierCurveTo

bezierCurveTo(cpX, cpY, cpX2, cpY2, toX, toY): Graphics

Calculate the points for a bezier curve and then draws it.

Parameters

Name Type Description
cpX number Control point x
cpY number Control point y
cpX2 number Second Control point x
cpY2 number Second Control point y
toX number Destination point x
toY number Destination point y

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.bezierCurveTo

Defined in

node_modules/pixi.js/pixi.js.d.ts:9872


calculateBounds

calculateBounds(): void

Recalculates the bounds of the container.

Returns

void

Inherited from

DBaseOverflowMaskSimple.calculateBounds

Defined in

node_modules/pixi.js/pixi.js.d.ts:10292


calculateTints

calculateTints(): void

Recalcuate the tint by applying tin to batches using Graphics tint.

Returns

void

Inherited from

DBaseOverflowMaskSimple.calculateTints

Defined in

node_modules/pixi.js/pixi.js.d.ts:10069


calculateVertices

calculateVertices(): void

If there’s a transform update or a change to the shape of the geometry, recaculate the vertices.

Returns

void

Inherited from

DBaseOverflowMaskSimple.calculateVertices

Defined in

node_modules/pixi.js/pixi.js.d.ts:10075


clear

clear(): Graphics

Clears the graphics that were drawn to this Graphics object, and resets fill and line style settings.

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.clear

Defined in

node_modules/pixi.js/pixi.js.d.ts:10003


clone

clone(): Graphics

Creates a new Graphics object with the same values as this one. Note that only the geometry of the object is cloned, not its transform (position,scale,etc)

Returns

Graphics

A clone of the graphics object

Inherited from

DBaseOverflowMaskSimple.clone

Defined in

node_modules/pixi.js/pixi.js.d.ts:9728


closePath

closePath(): Graphics

Closes the current path.

Returns

Graphics

Returns itself.

Inherited from

DBaseOverflowMaskSimple.closePath

Defined in

node_modules/pixi.js/pixi.js.d.ts:10081


containerUpdateTransform

containerUpdateTransform(): void

Container default updateTransform, does update children of container. Will crash if there’s no parent element.

Returns

void

Memberof

PIXI.Container#

Function

containerUpdateTransform

Inherited from

DBaseOverflowMaskSimple.containerUpdateTransform

Defined in

node_modules/pixi.js/pixi.js.d.ts:10334


containsPoint

containsPoint(point): boolean

Tests if a point is inside this graphics object

Parameters

Name Type Description
point IPointData the point to test

Returns

boolean

the result of the test

Inherited from

DBaseOverflowMaskSimple.containsPoint

Defined in

node_modules/pixi.js/pixi.js.d.ts:10064


destroy

destroy(options?): void

Destroys the Graphics object.

Parameters

Name Type Description
options? Object Options parameter. A boolean will act as if all options have been set to that value
options.baseTexture? boolean Only used for child Sprites if options.children is set to true Should it destroy the base texture of the child sprite
options.children? boolean if set to true, all the children will have their destroy method called as well. ‘options’ will be passed on to those calls.
options.texture? boolean Only used for child Sprites if options.children is set to true Should it destroy the texture of the child sprite

Returns

void

Inherited from

DBaseOverflowMaskSimple.destroy

Defined in

node_modules/pixi.js/pixi.js.d.ts:10115


disableTempParent

disableTempParent(cacheParent): void

Pair method for enableTempParent

Parameters

Name Type Description
cacheParent DisplayObject actual parent of element

Returns

void

Inherited from

DBaseOverflowMaskSimple.disableTempParent

Defined in

node_modules/pixi.js/pixi.js.d.ts:10636


displayObjectUpdateTransform

displayObjectUpdateTransform(): void

DisplayObject default updateTransform, does not update children of container. Will crash if there’s no parent element.

Returns

void

Memberof

PIXI.DisplayObject#

Function

displayObjectUpdateTransform

Inherited from

DBaseOverflowMaskSimple.displayObjectUpdateTransform

Defined in

node_modules/pixi.js/pixi.js.d.ts:10750


drawChamferRect

drawChamferRect(x, y, width, height, chamfer): Graphics

Draw Rectangle with chamfer corners.

Note: Only available with @pixi/graphics-extras.

Parameters

Name Type Description
x number Upper left corner of rect
y number Upper right corner of rect
width number Width of rect
height number Height of rect
chamfer number accept negative or positive values

Returns

Graphics

Returns self.

Method

PIXI.Graphics#drawChamferRect

Inherited from

DBaseOverflowMaskSimple.drawChamferRect

Defined in

node_modules/pixi.js/pixi.js.d.ts:10133


drawCircle

drawCircle(x, y, radius): Graphics

Draws a circle.

Parameters

Name Type Description
x number The X coordinate of the center of the circle
y number The Y coordinate of the center of the circle
radius number The radius of the circle

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.drawCircle

Defined in

node_modules/pixi.js/pixi.js.d.ts:9961


drawEllipse

drawEllipse(x, y, width, height): Graphics

Draws an ellipse.

Parameters

Name Type Description
x number The X coordinate of the center of the ellipse
y number The Y coordinate of the center of the ellipse
width number The half width of the ellipse
height number The half height of the ellipse

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.drawEllipse

Defined in

node_modules/pixi.js/pixi.js.d.ts:9971


drawFilletRect

drawFilletRect(x, y, width, height, fillet): Graphics

Draw Rectangle with fillet corners.

Note: Only available with @pixi/graphics-extras.

Parameters

Name Type Description
x number Upper left corner of rect
y number Upper right corner of rect
width number Width of rect
height number Height of rect
fillet number non-zero real number, size of corner cutout

Returns

Graphics

Returns self.

Method

PIXI.Graphics#drawFilletRect

Inherited from

DBaseOverflowMaskSimple.drawFilletRect

Defined in

node_modules/pixi.js/pixi.js.d.ts:10147


drawPolygon

drawPolygon(...path): Graphics

Draws a polygon using the given path.

Parameters

Name Type Description
...path (number[] | Polygon | Point[])[] The path data used to construct the polygon.

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.drawPolygon

Defined in

node_modules/pixi.js/pixi.js.d.ts:9978


drawRect

drawRect(x, y, width, height): Graphics

Draws a rectangle shape.

Parameters

Name Type Description
x number The X coord of the top-left of the rectangle
y number The Y coord of the top-left of the rectangle
width number The width of the rectangle
height number The height of the rectangle

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.drawRect

Defined in

node_modules/pixi.js/pixi.js.d.ts:9941


drawRegularPolygon

drawRegularPolygon(x, y, radius, sides, rotation): Graphics

Draw a regular polygon where all sides are the same length.

Note: Only available with @pixi/graphics-extras.

Parameters

Name Type Description
x number X position
y number Y position
radius number Polygon radius
sides number Minimum value is 3
rotation number Starting rotation values in radians..

Returns

Graphics

Method

PIXI.Graphics#drawRegularPolygon

Inherited from

DBaseOverflowMaskSimple.drawRegularPolygon

Defined in

node_modules/pixi.js/pixi.js.d.ts:10161


drawRoundedRect

drawRoundedRect(x, y, width, height, radius): Graphics

Draw a rectangle shape with rounded/beveled corners.

Parameters

Name Type Description
x number The X coord of the top-left of the rectangle
y number The Y coord of the top-left of the rectangle
width number The width of the rectangle
height number The height of the rectangle
radius number Radius of the rectangle corners

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.drawRoundedRect

Defined in

node_modules/pixi.js/pixi.js.d.ts:9952


drawShape

drawShape(shape): Graphics

Draw any shape.

Parameters

Name Type Description
shape Rectangle | Polygon | Circle | Ellipse | RoundedRectangle Shape to draw

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.drawShape

Defined in

node_modules/pixi.js/pixi.js.d.ts:9985


drawStar

drawStar(x, y, points, radius, innerRadius?, rotation?): Graphics

Draw a star shape with an arbitrary number of points.

Parameters

Name Type Description
x number Center X position of the star
y number Center Y position of the star
points number The number of points of the star, must be > 1
radius number The outer radius of the star
innerRadius? number The inner radius between points, default half radius
rotation? number The rotation of the star in radians, where 0 is vertical

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.drawStar

Defined in

node_modules/pixi.js/pixi.js.d.ts:9997


drawTorus

drawTorus(x, y, innerRadius, outerRadius, startArc?, endArc?): Graphics

Draw a torus shape, like a donut. Can be used for something like a circle loader.

Note: Only available with @pixi/graphics-extras.

Parameters

Name Type Description
x number X position
y number Y position
innerRadius number Inner circle radius
outerRadius number Outer circle radius
startArc? number Where to begin sweep, in radians, 0.0 = to the right
endArc? number Where to end sweep, in radians

Returns

Graphics

Method

PIXI.Graphics#drawTorus

Inherited from

DBaseOverflowMaskSimple.drawTorus

Defined in

node_modules/pixi.js/pixi.js.d.ts:10176


emit

emit(event, ...args): boolean

Calls each of the listeners registered for a given event.

Parameters

Name Type Description
event string | symbol The event name.
...args any[] Arguments that are passed to registered listeners

Returns

boolean

true if the event had listeners, else false.

Inherited from

DBaseOverflowMaskSimple.emit

Defined in

node_modules/pixi.js/pixi.js.d.ts:25441


enableTempParent

enableTempParent(): DisplayObject

Used in Renderer, cacheAsBitmap and other places where you call an updateTransform on root

const cacheParent = elem.enableTempParent();
elem.updateTransform();
elem.disableTempParent(cacheParent);

Returns

DisplayObject

current parent

Inherited from

DBaseOverflowMaskSimple.enableTempParent

Defined in

node_modules/pixi.js/pixi.js.d.ts:10631


endFill

endFill(): Graphics

Applies a fill to the lines and shapes that were added since the last call to the beginFill() method.

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.endFill

Defined in

node_modules/pixi.js/pixi.js.d.ts:9931


endHole

endHole(): Graphics

End adding holes to the last draw shape

Returns

Graphics

Returns itself.

Inherited from

DBaseOverflowMaskSimple.endHole

Defined in

node_modules/pixi.js/pixi.js.d.ts:10102


eventNames

eventNames(): (string | symbol)[]

Return an array listing the events for which the emitter has registered listeners.

Returns

(string | symbol)[]

Inherited from

DBaseOverflowMaskSimple.eventNames

Defined in

node_modules/pixi.js/pixi.js.d.ts:25415


finishPoly

finishPoly(): void

Finish the polygon object.

Returns

void

Inherited from

DBaseOverflowMaskSimple.finishPoly

Defined in

node_modules/pixi.js/pixi.js.d.ts:9824


getBounds

getBounds(skipUpdate?, rect?): Rectangle

Retrieves the bounds of the displayObject as a rectangle object.

Parameters

Name Type Description
skipUpdate? boolean Setting to true will stop the transforms of the scene graph from being updated. This means the calculation returned MAY be out of date BUT will give you a nice performance boost.
rect? Rectangle Optional rectangle to store the result of the bounds calculation.

Returns

Rectangle

The rectangular bounding area.

Inherited from

DBaseOverflowMaskSimple.getBounds

Defined in

node_modules/pixi.js/pixi.js.d.ts:10571


getChildAt

getChildAt(index): DisplayObject

Returns the child at the specified index

Parameters

Name Type Description
index number The index to get the child at

Returns

DisplayObject

The child at the given index, if any.

Inherited from

DBaseOverflowMaskSimple.getChildAt

Defined in

node_modules/pixi.js/pixi.js.d.ts:10257


getChildByName

getChildByName(name, deep?): DisplayObject

Returns the display object in the container.

Recursive searches are done in a preorder traversal.

Parameters

Name Type Description
name string Instance name.
deep? boolean Whether to search recursively

Returns

DisplayObject

The child with the specified name.

Method

getChildByName

Memberof

PIXI.Container#

Inherited from

DBaseOverflowMaskSimple.getChildByName

Defined in

node_modules/pixi.js/pixi.js.d.ts:10354


getChildIndex

getChildIndex(child): number

Returns the index position of a child DisplayObject instance

Parameters

Name Type Description
child DisplayObject The DisplayObject instance to identify

Returns

number

The index position of the child display object to identify

Inherited from

DBaseOverflowMaskSimple.getChildIndex

Defined in

node_modules/pixi.js/pixi.js.d.ts:10243


getGlobalPosition

getGlobalPosition(point?, skipUpdate?): Point

Returns the global position of the displayObject. Does not depend on object scale, rotation and pivot.

Parameters

Name Type Description
point? Point The point to write the global value to.
skipUpdate? boolean Setting to true will stop the transforms of the scene graph from being updated. This means the calculation returned MAY be out of date BUT will give you a nice performance boost.

Returns

Point

The updated point.

Method

getGlobalPosition

Memberof

PIXI.DisplayObject#

Inherited from

DBaseOverflowMaskSimple.getGlobalPosition

Defined in

node_modules/pixi.js/pixi.js.d.ts:10821


getLocalBounds

getLocalBounds(rect?, skipChildrenUpdate?): Rectangle

Retrieves the local bounds of the displayObject as a rectangle object.

Parameters

Name Type Description
rect? Rectangle Optional rectangle to store the result of the bounds calculation.
skipChildrenUpdate? boolean Setting to true will stop re-calculation of children transforms, it was default behaviour of pixi 4.0-5.2 and caused many problems to users.

Returns

Rectangle

The rectangular bounding area.

Inherited from

DBaseOverflowMaskSimple.getLocalBounds

Defined in

node_modules/pixi.js/pixi.js.d.ts:10301


isFastRect

isFastRect(): boolean

True if graphics consists of one rectangle, and thus, can be drawn like a Sprite and masked with gl.scissor.

Returns

boolean

True if only 1 rect.

Inherited from

DBaseOverflowMaskSimple.isFastRect

Defined in

node_modules/pixi.js/pixi.js.d.ts:10010


lineStyle

lineStyle(width?, color?, alpha?, alignment?, native?): Graphics

Specifies the line style used for subsequent calls to Graphics methods such as the lineTo() method or the drawCircle() method.

Parameters

Name Type Description
width? number width of the line to draw, will update the objects stored style
color? number color of the line to draw, will update the objects stored style
alpha? number alpha of the line to draw, will update the objects stored style
alignment? number alignment of the line to draw, (0 = inner, 0.5 = middle, 1 = outter)
native? boolean If true the lines will be draw using LINES instead of TRIANGLE_STRIP

Returns

Graphics

This Graphics object. Good for chaining method calls

Method

PIXI.Graphics#lineStyle

Inherited from

DBaseOverflowMaskSimple.lineStyle

Defined in

node_modules/pixi.js/pixi.js.d.ts:9772

lineStyle(width?, color?, alpha?, alignment?, native?): Graphics

Specifies the line style used for subsequent calls to Graphics methods such as the lineTo() method or the drawCircle() method.

Parameters

Name Type Description
width? number width of the line to draw, will update the objects stored style
color? number color of the line to draw, will update the objects stored style
alpha? number alpha of the line to draw, will update the objects stored style
alignment? number alignment of the line to draw, (0 = inner, 0.5 = middle, 1 = outter)
native? boolean If true the lines will be draw using LINES instead of TRIANGLE_STRIP

Returns

Graphics

This Graphics object. Good for chaining method calls

Method

PIXI.Graphics#lineStyle

Inherited from

DBaseOverflowMaskSimple.lineStyle

Defined in

node_modules/pixi.js/pixi.js.d.ts:9785


lineTextureStyle

lineTextureStyle(options?): Graphics

Like line style but support texture for line fill.

Parameters

Name Type Description
options? Object Collection of options for setting line style.
options.alignment? number alignment of the line to draw, (0 = inner, 0.5 = middle, 1 = outter)
options.alpha? number alpha of the line to draw, will update the objects stored style
options.cap? LINE_CAP line cap style
options.color? number color of the line to draw, will update the objects stored style. Default 0xFFFFFF if texture present.
options.join? LINE_JOIN line join style
options.matrix? Matrix Texture matrix to transform texture
options.miterLimit? number miter limit ratio
options.native? boolean If true the lines will be draw using LINES instead of TRIANGLE_STRIP
options.texture? Texture Texture to use
options.width? number width of the line to draw, will update the objects stored style

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.lineTextureStyle

Defined in

node_modules/pixi.js/pixi.js.d.ts:9803


lineTo

lineTo(x, y): Graphics

Draws a line using the current line style from the current drawing position to (x, y); The current drawing position is then set to (x, y).

Parameters

Name Type Description
x number the X coordinate to draw to
y number the Y coordinate to draw to

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.lineTo

Defined in

node_modules/pixi.js/pixi.js.d.ts:9841


listenerCount

listenerCount(event): number

Return the number of listeners listening to a given event.

Parameters

Name Type Description
event string | symbol The event name.

Returns

number

Inherited from

DBaseOverflowMaskSimple.listenerCount

Defined in

node_modules/pixi.js/pixi.js.d.ts:25432


listeners

listeners(event): Function[]

Return the listeners registered for a given event.

Parameters

Name Type Description
event string | symbol The event name.

Returns

Function[]

Inherited from

DBaseOverflowMaskSimple.listeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25424


moveTo

moveTo(x, y): Graphics

Moves the current drawing position to x, y.

Parameters

Name Type Description
x number the X coordinate to move to
y number the Y coordinate to move to

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.moveTo

Defined in

node_modules/pixi.js/pixi.js.d.ts:9832


off

off(event, fn?, context?): this

Parameters

Name Type
event string
fn? Function
context? any

Returns

this

Inherited from

DBaseOverflowMaskSimple.off

Defined in

node_modules/pixi.js/pixi.js.d.ts:25534


on

on(event, fn, context?): this

Parameters

Name Type
event "removed" | "added"
fn (displayObject: DisplayObject) => void
context? any

Returns

this

Inherited from

DBaseOverflowMaskSimple.on

Defined in

node_modules/pixi.js/pixi.js.d.ts:25530

on(event, fn, context?): this

Parameters

Name Type
event string
fn Function
context? any

Returns

this

Inherited from

DBaseOverflowMaskSimple.on

Defined in

node_modules/pixi.js/pixi.js.d.ts:25532


onChildrenChange

onChildrenChange(): void

Overridable method that can be used by Container subclasses whenever the children array is modified

Returns

void

Inherited from

DBaseOverflowMaskSimple.onChildrenChange

Defined in

node_modules/pixi.js/pixi.js.d.ts:10212


onReflow

onReflow(base, width, height): void

Parameters

Name Type
base DBase<DThemeBase, DBaseOptions<DThemeBase, any>>
width number
height number

Returns

void

Overrides

DBaseOverflowMaskSimple.onReflow

Defined in

src/main/typescript/wcardinal/ui/d-chart-plot-area-twofold-overflow-mask-secondary.ts:10


once

once(event, fn, context?): this

Parameters

Name Type
event "removed" | "added"
fn (displayObject: DisplayObject) => void
context? any

Returns

this

Inherited from

DBaseOverflowMaskSimple.once

Defined in

node_modules/pixi.js/pixi.js.d.ts:25527

once(event, fn, context?): this

Parameters

Name Type
event string
fn Function
context? any

Returns

this

Inherited from

DBaseOverflowMaskSimple.once

Defined in

node_modules/pixi.js/pixi.js.d.ts:25529


quadraticCurveTo

quadraticCurveTo(cpX, cpY, toX, toY): Graphics

Calculate the points for a quadratic bezier curve and then draws it. Based on: https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier-curve-in-c

Parameters

Name Type Description
cpX number Control point x
cpY number Control point y
toX number Destination point x
toY number Destination point y

Returns

Graphics

This Graphics object. Good for chaining method calls

Inherited from

DBaseOverflowMaskSimple.quadraticCurveTo

Defined in

node_modules/pixi.js/pixi.js.d.ts:9860


removeAllListeners

removeAllListeners(event?): this

Parameters

Name Type
event? InteractionEventTypes

Returns

this

Inherited from

DBaseOverflowMaskSimple.removeAllListeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25516

removeAllListeners(event?): this

Parameters

Name Type
event? string | symbol

Returns

this

Inherited from

DBaseOverflowMaskSimple.removeAllListeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25517


removeChild

removeChild<TChildren>(...children): TChildren[0]

Removes one or more children from the container.

Type parameters

Name Type
TChildren extends DisplayObject[]

Parameters

Name Type Description
...children TChildren The DisplayObject(s) to remove

Returns

TChildren[0]

The first child that was removed.

Inherited from

DBaseOverflowMaskSimple.removeChild

Defined in

node_modules/pixi.js/pixi.js.d.ts:10264


removeChildAt

removeChildAt(index): DisplayObject

Removes a child from the specified index position.

Parameters

Name Type Description
index number The index to get the child from

Returns

DisplayObject

The child that was removed.

Inherited from

DBaseOverflowMaskSimple.removeChildAt

Defined in

node_modules/pixi.js/pixi.js.d.ts:10271


removeChildren

removeChildren(beginIndex?, endIndex?): DisplayObject[]

Removes all children from this container that are within the begin and end indexes.

Parameters

Name Type Description
beginIndex? number The beginning position.
endIndex? number The ending position. Default value is size of the container.

Returns

DisplayObject[]

List of removed children

Inherited from

DBaseOverflowMaskSimple.removeChildren

Defined in

node_modules/pixi.js/pixi.js.d.ts:10279


removeListener

removeListener(event, fn?, context?): this

Parameters

Name Type
event InteractionEventTypes
fn? (event: InteractionEvent) => void
context? any

Returns

this

Inherited from

DBaseOverflowMaskSimple.removeListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25513

removeListener(event, fn?, context?): this

Parameters

Name Type
event string | symbol
fn? Function
context? any

Returns

this

Inherited from

DBaseOverflowMaskSimple.removeListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25515


render

render(renderer): void

Parameters

Name Type
renderer Renderer

Returns

void

Inherited from

DBaseOverflowMaskSimple.render

Defined in

src/main/typescript/wcardinal/ui/d-base-overflow-mask-simple.ts:24


renderAdvanced

renderAdvanced(renderer): void

Render the object using the WebGL renderer and advanced features.

Parameters

Name Type Description
renderer Renderer The renderer

Returns

void

Inherited from

DBaseOverflowMaskSimple.renderAdvanced

Defined in

node_modules/pixi.js/pixi.js.d.ts:10314


setChildIndex

setChildIndex(child, index): void

Changes the position of an existing child in the display object container

Parameters

Name Type Description
child DisplayObject The child DisplayObject instance for which you want to change the index number
index number The resulting index number for the child display object

Returns

void

Inherited from

DBaseOverflowMaskSimple.setChildIndex

Defined in

node_modules/pixi.js/pixi.js.d.ts:10250


setMatrix

setMatrix(matrix): Graphics

Apply a matrix to the positional data.

Parameters

Name Type Description
matrix Matrix Matrix to use for transform current shape.

Returns

Graphics

Returns itself.

Inherited from

DBaseOverflowMaskSimple.setMatrix

Defined in

node_modules/pixi.js/pixi.js.d.ts:10088


setParent

setParent(container): Container

Set the parent Container of this DisplayObject.

Parameters

Name Type Description
container Container The Container to add this DisplayObject to.

Returns

Container

The Container that this DisplayObject was added to.

Inherited from

DBaseOverflowMaskSimple.setParent

Defined in

node_modules/pixi.js/pixi.js.d.ts:10599


setTransform

setTransform(x?, y?, scaleX?, scaleY?, rotation?, skewX?, skewY?, pivotX?, pivotY?): DisplayObject

Convenience function to set the position, scale, skew and pivot at once.

Parameters

Name Type Description
x? number The X position
y? number The Y position
scaleX? number The X scale value
scaleY? number The Y scale value
rotation? number The rotation
skewX? number The X skew value
skewY? number The Y skew value
pivotX? number The X pivot value
pivotY? number The Y pivot value

Returns

DisplayObject

The DisplayObject instance

Inherited from

DBaseOverflowMaskSimple.setTransform

Defined in

node_modules/pixi.js/pixi.js.d.ts:10614


sortChildren

sortChildren(): void

Sorts children by zIndex. Previous order is mantained for 2 children with the same zIndex.

Returns

void

Inherited from

DBaseOverflowMaskSimple.sortChildren

Defined in

node_modules/pixi.js/pixi.js.d.ts:10283


startPoly

startPoly(): void

Start a polygon object internally

Returns

void

Inherited from

DBaseOverflowMaskSimple.startPoly

Defined in

node_modules/pixi.js/pixi.js.d.ts:9819


swapChildren

swapChildren(child, child2): void

Swaps the position of 2 Display Objects within this container.

Parameters

Name Type Description
child DisplayObject First display object to swap
child2 DisplayObject Second display object to swap

Returns

void

Inherited from

DBaseOverflowMaskSimple.swapChildren

Defined in

node_modules/pixi.js/pixi.js.d.ts:10236


toGlobal

toGlobal(position, point?, skipUpdate?): Point

Calculates the global position of the display object.

Parameters

Name Type Description
position IPointData The world origin to calculate from.
point? Point A Point object in which to store the value, optional (otherwise will create a new Point).
skipUpdate? boolean Should we skip the update transform.

Returns

Point

A point object representing the position of this object.

Inherited from

DBaseOverflowMaskSimple.toGlobal

Defined in

node_modules/pixi.js/pixi.js.d.ts:10581


toLocal

toLocal(position, from?, point?, skipUpdate?): Point

Calculates the local position of the display object relative to another point.

Parameters

Name Type Description
position IPointData The world origin to calculate from.
from? DisplayObject The DisplayObject to calculate the global position from.
point? Point A Point object in which to store the value, optional (otherwise will create a new Point).
skipUpdate? boolean Should we skip the update transform

Returns

Point

A point object representing the position of this object

Inherited from

DBaseOverflowMaskSimple.toLocal

Defined in

node_modules/pixi.js/pixi.js.d.ts:10592


updateTransform

updateTransform(): void

Updates the transform on all children of this container for rendering

Returns

void

Inherited from

DBaseOverflowMaskSimple.updateTransform

Defined in

node_modules/pixi.js/pixi.js.d.ts:10287


mixin

mixin(source): void

Mixes all enumerable properties and methods from a source object to DisplayObject.

Parameters

Name Type Description
source any The source of properties and methods to mix in.

Returns

void

Inherited from

DBaseOverflowMaskSimple.mixin

Defined in

node_modules/pixi.js/pixi.js.d.ts:9230