Last updated

API / geotoolkit / schematics / scene / ExternalGeometryFlippedComponentNode / ExternalGeometryFlippedComponentNode

Class: ExternalGeometryFlippedComponentNode

scene.ExternalGeometryFlippedComponentNode.ExternalGeometryFlippedComponentNode

External geometry-based reusable component node extension.

Hierarchy

Table of contents

Constructors
Methods
addBaseLayeraddChildaddCssClass
addInvalidateHandleraddOverlayadjustPosition
applyOpacityapplyResponsiveStylechangeBaseLayerOrder
changeChildOrderchangeOverlayOrdercheckCollision
clearBaseLayersclearCacheclearChildren
clearOverlayscloneconnectStyle
copyConstructordisconnectStyledispose
drawBorderenableClippingenableEventPropagation
enablePickingChildrenenumerateNodesexecute
filtergetAnimationStylegetAutoModelLimitsMode
getAutoModelLimitsStrategygetBaseLayergetBaseLayers
getBaseLayersCountgetBoundsgetCache
getChildgetChildrengetChildrenCount
getClassNamegetClipStylegetContentOrientation
getContentsAreagetContentsTransformgetCss
getCssClassgetCssClassesgetCssTransform
getDatagetDescriptiongetDesiredHeight
getDesiredWidthgetDeviceLimitsgetFillStyle
getGeometryBoundsgetGeometryDatagetId
getInfiniteModegetInvalidateMethodgetLayout
getLayoutStylegetLineStylegetLocalTransform
getMarginsStylegetModelLimitsgetName
getOpacitygetOpacityBlendModegetOverlay
getOverlayAtgetOverlaysgetOverlaysCount
getPaddingStylegetParentgetPreferredSize
getPropertiesgetPropertygetPropertyKeys
getRenderingFiltergetRenderingHintsgetResponsiveStyle
getRootgetScaleScrollStrategygetSceneTransform
getSelectedgetStylesgetTag
getTemplateBoundsgetTemplateNodegetVisible
getVisibleDeviceLimitsgetVisibleModelLimitsgetWorldTransform
getZIndexhasCssClasshasEventListener
indexOfBaseLayerindexOfChildindexOfOverlay
insertBaseLayerinsertChildinsertOverlay
invalidateinvalidateLayoutinvalidateParent
isClippingEnabledisDisposedisEventPropagationEnabled
isHorizontalFlipisInitializedisLayoutInvalidated
isLeftisNotificationEnabledisPickingChildrenEnabled
isResourceBasedisSelectableisSilent
isVerticalFlipmoveTonotify
notifyRootoffon
onBoundsChangedonChildAddedonChildRemoved
onInitializeonParentChangedonVisibilityChanged
postRenderingpreRenderingrebuild
registerAnimationStyleremoveBaseLayerremoveChild
removeCssClassremoveInvalidateHandlerremoveOverlay
renderrenderAsyncrenderBackground
renderBaseLayersrenderBaseLayersAsyncrenderChildren
renderChildrenAsyncrenderContentrenderContentAsync
renderOverlaysrenderOverlaysAsyncresumeUpdate
rotatescalesetAnimationStyle
setAutoModelLimitsModesetAutoModelLimitsStrategysetBounds
setCachesetChildsetClipStyle
setContentOrientationsetCsssetCssClass
setCssTransformsetDatasetDescription
setDesiredHeightsetDesiredWidthsetFillStyle
setGeometryBoundssetGeometryDatasetHorizontalFlip
setIdsetInfiniteModesetLayout
setLayoutInvalidatedsetLayoutStylesetLeft
setLineStylesetLocalTransformsetMarginsStyle
setModelLimitssetNamesetNotification
setOpacitysetPaddingStylesetProperties
setPropertysetRenderingFiltersetRenderingHints
setResourceBasedsetResponsiveStylesetScaleScrollStrategy
setSelectablesetSelectedsetSilent
setTagsetVerticalFlipsetVisible
setVisibleModelLimitssetZIndexshear
suspendUpdatetoStringtranslate
unregisterAnimationStyleupdateLayoutupdateSceneTransformation
updateShapeGeometryupdateStateupdateSuspended
updateTimeStampvalidGeometryDataenableSceneGraphNotification
findParentgetClassNameisSceneGraphNotificationEnabled
Css Properties
Name Type Description
automodellimitsmodebooleanAuto model limits mode
boundsRectDefine position of the group in the parent
bounds-heightnumberHeight
bounds-readonlybooleanReadonly
bounds-widthnumberWidth
bounds-xnumberLeft
bounds-ynumberTop
clippingbooleanEnable clipping, this does not consider the clipstyle, it is related to bounds-clipping
clipstyleClipStyleClipping style
clipstyle-evenoddbooleanTrue if evenodd mode is on ('nonzero' mode otherwise)
clipstyle-geometryGraphicsPathClipping geometry
clipstyle-geometry-boundsRectBounds
clipstyleGraphicsPathClipping style
contentorientationOrientationContent orientation
cssclassstringThe css class name of this node
csscursorstringCSS cursor associated with node
cssstylestringCSS style to be applied to inserted elements
descriptionstringElement description
externalgeometryGroupOr externalGeometry geometry to define the component
externalgeometry-automodellimitsmodebooleanAuto model limits mode
externalgeometry-boundsRectDefine position of the group in the parent
externalgeometry-clippingbooleanEnable clipping, this does not consider the clipstyle, it is related to bounds-clipping
externalgeometry-clipstyleClipStyleClipping style
externalgeometry-clipstyleGraphicsPathClipping style
externalgeometry-contentorientationOrientationContent orientation
externalgeometry-cssclassstringThe css class name of this node
externalgeometry-csscursorstringCSS cursor associated with node
externalgeometry-cssstylestringCSS style to be applied to inserted elements
externalgeometry-fillstylestringFill style
externalgeometry-fillstyleFillStyleFill style
externalgeometry-fillstyle-colorstringColor in CSS form
externalgeometry-fillstyle-evenoddmodebooleanEven-odd fill mode
externalgeometry-fillstyle-fillpatternPatternPattern
externalgeometry-fillstyle-fillpattern-containernamestringAn optional container name, which creates an image pattern. This parameter is used for serialization if you want to save are reference to pattern instead of the pattern itself
externalgeometry-fillstyle-fillpattern-patternnamestringName of this pattern for indexing
externalgeometry-fillstyle-fillpattern-scalablebooleanFlag that sets scalability of the pattern coordinates, or relative to the shape it is filling (It is not supported)
externalgeometry-fillstyle-foregroundstringForeground color
externalgeometry-fillstyle-patternPatternPattern
externalgeometry-horizontalflipbooleanHorizontal axis goes from right to left
externalgeometry-idstring | numberId of the node, its a unique identifier
externalgeometry-infinitybooleanMode to render outside the model limits
externalgeometry-layoutstyleLayoutStyleLayout style to be used for parent layout
externalgeometry-layoutstyle-constraintSizeConstraintLayout constrains
externalgeometry-layoutstyle-flexgrownumberNumber specifying how much the item will grow relative to the rest of the items inside the same container
externalgeometry-layoutstyle-flexshrinknumberNumber specifying how much the item will shrink relative to the rest of the items inside the same container
externalgeometry-layoutstyle-floatstringFloat position
externalgeometry-layoutstyle-positionstringLayout position
externalgeometry-layoutstyle-sizenumber | stringLayout size
externalgeometry-linestylestringLine style
externalgeometry-linestyleLineStyleLine style
externalgeometry-linestyle-colorstringColor in CSS form
externalgeometry-linestyle-fillstringOptional fill style to be used to fill lines generated with this style
externalgeometry-linestyle-fillFillStyleOptional fill style to be used to fill lines generated with this style
externalgeometry-linestyle-linecapCapStyleThe line cap style
externalgeometry-linestyle-linedashoffsetnumberLine dash offset of dashed line
externalgeometry-linestyle-linejoinJoinStyleThe line join style
externalgeometry-linestyle-pixelsnapmodebooleanPixel Snap Mode, default(
externalgeometry-linestyle-scalablebooleanTrue if width should depend on transformation
externalgeometry-linestyle-unitstringOptional unit for the width
externalgeometry-linestyle-widthnumber | stringThe line thickness
externalgeometry-localtransformTransformationLocal transformation
externalgeometry-localtransform-dxnumberX axis translation
externalgeometry-localtransform-dynumberY axis translation
externalgeometry-localtransform-xxnumberX scale
externalgeometry-localtransform-xynumberXy skew
externalgeometry-localtransform-yxnumberYx skew
externalgeometry-localtransform-yynumberY scale
externalgeometry-marginsnumber | stringIt has properties for specifying the margins for each side
externalgeometry-modellimitsRectDefine inner model coordinates of the group
externalgeometry-namestringName of the node. It is often used for debugging purposes or to simplify queries
externalgeometry-opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
externalgeometry-opacityblendmodeBlendModeNode opacity mode to blend it
externalgeometry-paddingnumber | stringIt has properties for specifying the padding for each side
externalgeometry-pickingchildrenbooleanEnable picking children
externalgeometry-scalescrollstrategyScaleScrollStrategyScale scroll strategy
externalgeometry-scalescrollstrategy-enabledbooleanEnable flag
externalgeometry-selectablebooleanSelectable node, a boolean to determine if selection should consider this node
externalgeometry-taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
externalgeometry-transformstringAdditional CSS transformation applied to node or 'none'
externalgeometry-transformTransformationAdditional CSS transformation applied to node or 'none'
externalgeometry-verticalflipbooleanVertical axis goes from bottom to top
externalgeometry-viewcachebooleanView cache to cache child nodes
externalgeometry-visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
externalgeometry-z-indexnumberDefine node z-index
fillstylestringFill style
fillstyleFillStyleFill style
horizontalflipbooleanHorizontal axis goes from right to left
idstring | numberId of the node, its a unique identifier
infinitybooleanMode to render outside the model limits
isleftbooleanIsLeft is "left" part of shape flag
layoutstyleLayoutStyleLayout style to be used for parent layout
linestylestringLine style
linestyleLineStyleLine style
localtransformTransformationLocal transformation
marginsnumber | stringIt has properties for specifying the margins for each side
modellimitsRectDefine inner model coordinates of the group
namestringName of the node. It is often used for debugging purposes or to simplify queries
opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
opacityblendmodeBlendModeNode opacity mode to blend it
paddingnumber | stringIt has properties for specifying the padding for each side
parentproxyComponentNodeParent proxy
parentproxy-automodellimitsmodebooleanAuto model limits mode
parentproxy-boundsRectDefine position of the group in the parent
parentproxy-clippingbooleanEnable clipping, this does not consider the clipstyle, it is related to bounds-clipping
parentproxy-clipstyleClipStyleClipping style
parentproxy-clipstyleGraphicsPathClipping style
parentproxy-contentorientationOrientationContent orientation
parentproxy-cssclassstringThe css class name of this node
parentproxy-csscursorstringCSS cursor associated with node
parentproxy-cssstylestringCSS style to be applied to inserted elements
parentproxy-descriptionstringElement description
parentproxy-fillstylestringFill style
parentproxy-fillstyleFillStyleFill style
parentproxy-horizontalflipbooleanHorizontal axis goes from right to left
parentproxy-idstring | numberId of the node, its a unique identifier
parentproxy-infinitybooleanMode to render outside the model limits
parentproxy-layoutstyleLayoutStyleLayout style to be used for parent layout
parentproxy-linestylestringLine style
parentproxy-linestyleLineStyleLine style
parentproxy-localtransformTransformationLocal transformation
parentproxy-marginsnumber | stringIt has properties for specifying the margins for each side
parentproxy-modellimitsRectDefine inner model coordinates of the group
parentproxy-namestringName of the node. It is often used for debugging purposes or to simplify queries
parentproxy-opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
parentproxy-opacityblendmodeBlendModeNode opacity mode to blend it
parentproxy-paddingnumber | stringIt has properties for specifying the padding for each side
parentproxy-pickingchildrenbooleanEnable picking children
parentproxy-rectboundsRectGeometry bounds
parentproxy-scalescrollstrategyScaleScrollStrategyScale scroll strategy
parentproxy-selectablebooleanSelectable node, a boolean to determine if selection should consider this node
parentproxy-taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
parentproxy-transformstringAdditional CSS transformation applied to node or 'none'
parentproxy-transformTransformationAdditional CSS transformation applied to node or 'none'
parentproxy-verticalflipbooleanVertical axis goes from bottom to top
parentproxy-viewcachebooleanView cache to cache child nodes
parentproxy-visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
parentproxy-z-indexnumberDefine node z-index
pickingchildrenbooleanEnable picking children
rectboundsRectGeometry bounds
scalescrollstrategyScaleScrollStrategyScale scroll strategy
selectablebooleanSelectable node, a boolean to determine if selection should consider this node
taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
transformstringAdditional CSS transformation applied to node or 'none'
transformTransformationAdditional CSS transformation applied to node or 'none'
verticalflipbooleanVertical axis goes from bottom to top
viewcachebooleanView cache to cache child nodes
visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
z-indexnumberDefine node z-index

Contents

Constructors

new ExternalGeometryFlippedComponentNode(options, data)

new ExternalGeometryFlippedComponentNode(options?, data?)

Parameters

Name Type Description
Optional optionsGroup<Node> | Optionsor externalGeometry geometry to define the component
Optional dataDataJSON-data to define component

Overrides

FlippedComponentNode.constructor

Methods

addBaseLayer

addBaseLayer(baseLayer): ExternalGeometryFlippedComponentNode

Add baseLayer to container

Parameters

Name Type Description
baseLayerNode | Node[]baseLayer to be added

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.addBaseLayer


addChild

addChild(node): ExternalGeometryFlippedComponentNode

Add a child node

Parameters

Name Type Description
nodeNode | Iterator<Node> | Node[]the child node to be added

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.addChild


addCssClass

addCssClass(cssclass): ExternalGeometryFlippedComponentNode

Adds new css class to node

Parameters

Name Type Description
cssclassstring | string[]css class name('s)

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.addCssClass


addInvalidateHandler

addInvalidateHandler(handler): ExternalGeometryFlippedComponentNode

Add invalidate handler

Deprecated

since 4.0, use Node.on instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.addInvalidateHandler


addOverlay

addOverlay(overlay): ExternalGeometryFlippedComponentNode

Add overlay to container

Parameters

Name Type Description
overlayNode | Node[]overlay to be added

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.addOverlay


adjustPosition

adjustPosition(area?, vAlign?, hAlign?): ExternalGeometryFlippedComponentNode

Adjust position of node to specified area

Parameters

Name Type Description
Optional areaRectspecified area. Default to Parent Model Limits
Optional vAlignstringvertical alignment. It can be "top", "bottom", "center". Defaults to "top".
Optional hAlignstringhorizontal alignment It can be "left", "right", "center". Defaults to "left".

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.adjustPosition


applyOpacity

Protected applyOpacity(context): ExternalGeometryFlippedComponentNode

This method is called to apply opacity if it is specified on the rendering context. The default implementation sets global alpha on the rendering context

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.applyOpacity


applyResponsiveStyle

Protected applyResponsiveStyle(): void

Apply a responsive style rules it is exists

Returns

void

Inherited from

FlippedComponentNode.applyResponsiveStyle


changeBaseLayerOrder

changeBaseLayerOrder(overlay, order, anchor?): ExternalGeometryFlippedComponentNode

Changes the z-order of the baseLayer.

Parameters

Name Type Description
overlayNode
orderNodeOrderposition to be added
Optional anchorNodeanchor node to specify changeOrder with respect to this node

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.changeBaseLayerOrder


changeChildOrder

changeChildOrder(node, order, anchor?): ExternalGeometryFlippedComponentNode

changes the z-order of the nodes being rendered.

Parameters

Name Type Description
nodeNodeany child added in the Composite node
orderNodeOrderposition to be added
Optional anchorNodeanchor node to specify changeOrder with respect to this node

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.changeChildOrder


changeOverlayOrder

changeOverlayOrder(overlay, order, anchor?): ExternalGeometryFlippedComponentNode

Changes the z-order of the overlay.

Parameters

Name Type Description
overlayNodechild overlay
orderNodeOrderposition to be added
Optional anchorNodeanchor node to specify changeOrder with respect to this node

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.changeOverlayOrder


checkCollision

checkCollision(context): boolean

Checks collision

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

boolean

true if object is inside of renderable area

Inherited from

FlippedComponentNode.checkCollision


clearBaseLayers

clearBaseLayers(disposeBaseLayers?): ExternalGeometryFlippedComponentNode

Remove all child baseLayers from group

Parameters

Name Type Description
Optional disposeBaseLayersbooleanautomatically dispose baseLayers. If it is true then method dispose is called for each baseLayer, false by default

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.clearBaseLayers


clearCache

clearCache(): ExternalGeometryFlippedComponentNode

Clear cache

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.clearCache


clearChildren

clearChildren(disposeChildren?): ExternalGeometryFlippedComponentNode

Remove all child nodes from this composite group

Parameters

Name Type Description
Optional disposeChildrenbooleanautomatically dispose children. If it is true then method dispose is called for each child.

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.clearChildren


clearOverlays

clearOverlays(disposeOverlays?): ExternalGeometryFlippedComponentNode

Remove all child overlays from group

Parameters

Name Type Description
Optional disposeOverlaysbooleanautomatically dispose overlays. If it is true then method dispose is called for each overlay, false by default

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.clearOverlays


clone

clone(): Group<Node>

All subclasses should override copyConstructor or provide custom implementation for this method

Returns

Group<Node>

clone

Inherited from

FlippedComponentNode.clone


connectStyle

connectStyle(style, type, callback): ExternalGeometryFlippedComponentNode

Connects style.

This convenience method subscribes a listener to given style for the specified type.
And automatically un-subscribes listener if node is disposed to prevent memory leaks

Parameters

Name Type Description
styleEventDispatcherconnect style
typestringtype of event or property
callbackAttributeCallback<EventDispatcher>function to be called

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.connectStyle


copyConstructor

Protected copyConstructor(src, deepCopy?): ExternalGeometryFlippedComponentNode

Copy constructor function.
Function used as part of the cloning mechanism.
Implementations should copy the given instance state to this instance.

Parameters

Name Type Description
srcGroup<Node>Source to copy from
Optional deepCopybooleandeep copy

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.copyConstructor


disconnectStyle

disconnectStyle(style, type, callback): ExternalGeometryFlippedComponentNode

Disconnect style
This convenience method un-subscribes a listener to given style for the specified type.

Parameters

Name Type Description
styleEventDispatcherconnect style
typestringtype of event or property
callbackAttributeCallback<EventDispatcher>function to be called

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.disconnectStyle


dispose

dispose(): void

Dispose node. Clear all listeners and disconnect style to avoid memory leaks

Returns

void

Inherited from

FlippedComponentNode.dispose


drawBorder

Protected drawBorder(localContext, bounds?): ExternalGeometryFlippedComponentNode

Draws a rectangle at the bounding box (in parent coordinates)

Parameters

Name Type Description
localContextRenderingContextThe local rendering context
Optional boundsRectgroup bounds

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.drawBorder


enableClipping

enableClipping(doClip): ExternalGeometryFlippedComponentNode

Enables or disables clipping of this node. If enabled, shapes will not be rendered outside of its bounds.

Parameters

Name Type Description
doClipbooleanenable clipping on this node

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.enableClipping


enableEventPropagation

enableEventPropagation(enable): ExternalGeometryFlippedComponentNode

Enable event propagation from the node hierarchy from bottom to top

This option is similar to DOM Event bubbling, which allows to get any event from child node. By default it is disabled for better performance.

Example

import {Group} from '@int/geotoolkit/scene/Group';
import {Events as SceneEvents} from '@int/geotoolkit/scene/Node';
const parentGroup = new Group()
.setName('ParentGroup')
.enableEventPropagation(true);
const childGroup = new Group()
.setName('ChildGroup');

parentGroup.addChild(childGroup);
parentGroup.on(SceneEvents.Invalidate, (eventName, sender, args) => {
// Got notifications from all children of parent group
});
childGroup.invalidate();

Parameters

Name Type Description
enablebooleanenable

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.enableEventPropagation


enablePickingChildren

enablePickingChildren(enable): ExternalGeometryFlippedComponentNode

Enables or disables picking children

Parameters

Name Type Description
enablebooleanenable picking children

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.enablePickingChildren


enumerateNodes

enumerateNodes(callback, target?): void

Executes a provided function once for each child node

Parameters

Name Type Description
callbackCallback<Node>provided function
Optional targetQueryBuilder<any>target to pass to callback as a second parameter

Returns

void

Inherited from

FlippedComponentNode.enumerateNodes


execute

execute(delegate): ExternalGeometryFlippedComponentNode

Executes delegate and return the result. It allows us to keep all initialization calls in one place,
and we do not need to scroll up or down in IDE to find how and where it was initialized.

Example

// All setters (.setName() for example) returns reference to the this.
// In order to modify inner object like LineStyle or Pattern, to get this object (property) we should call getter to get object reference.
// Then modify it as shown below in Option 1 or you can use execute methods shown in Option 2.
import {Group} from '@int/geotoolkit/scene/Group';
import {Rect} from '@int/geotoolkit/util/Rect';
// Option 1
const group = new Group()
.setName('MyGroup')
.setBounds(new Rect(0, 0, 42, 16))
.enableClipping(true)
.setTag({'type': 'sometype'});

group.getLineStyle().setPattern('pattern');
return group;

// Options 2 ( using execute method )
return group
.execute(function () {
this.getLineStyle()
.setPattern("pattern");
});

Parameters

Name Type Description
delegate(this: ExternalGeometryFlippedComponentNode) => voidFunction to execute

Returns

ExternalGeometryFlippedComponentNode

The result if any or this

Inherited from

FlippedComponentNode.execute

execute<T>(delegate): T

Type parameters

Name
T

Parameters

Name Type
delegate(this: ExternalGeometryFlippedComponentNode) => T

Returns

T

Inherited from

FlippedComponentNode.execute


filter

Protected filter(context): boolean

Filter node

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

boolean

flag filter flag ("true" to render node; "false" otherwise)

Inherited from

FlippedComponentNode.filter


getAnimationStyle

getAnimationStyle(): AnimationStyle

Return animation style

Returns

AnimationStyle

animationStyle current animation style

Inherited from

FlippedComponentNode.getAnimationStyle


getAutoModelLimitsMode

getAutoModelLimitsMode(): boolean

Get Model Limits Logics to use when no Model Limits have been set set to true: will use parents width and height, starting at 0 set to false: will use parents bounds

Returns

boolean

mode

Inherited from

FlippedComponentNode.getAutoModelLimitsMode


getAutoModelLimitsStrategy

getAutoModelLimitsStrategy(): ModelLimitsStrategy

Get Model Limits Logics Strategy

Returns

ModelLimitsStrategy

strategy

Inherited from

FlippedComponentNode.getAutoModelLimitsStrategy


getBaseLayer

getBaseLayer(index): Node

Return baseLayer at specified index

Parameters

Name Type Description
indexnumberindex at which to get the baseLayer for

Returns

Node

track

Inherited from

FlippedComponentNode.getBaseLayer


getBaseLayers

getBaseLayers<S>(predicate, modify?): Iterator<Node>

Return iterator by baseLayers nodes

Type parameters

NameType
Sextends Node<S>

Parameters

Name Type Description
predicate(value: Node) => value is Sa filter function
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

Inherited from

FlippedComponentNode.getBaseLayers

getBaseLayers(filter?, modify?): Iterator<Node>

Returns an iterator for child baseLayers. The iterator does not support adding or deleting items from overlays by default. If it is necessary to modify a collection of overlays, pass true as the last parameter.

Example

// Gets a writable iterator
const it = node.getOverlays(null, true);

Parameters

Name Type Description
Optional filter(node: Node) => booleanA filter function. Returns all overlays if null.
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

An iterator for child overlays.

Inherited from

FlippedComponentNode.getBaseLayers


getBaseLayersCount

getBaseLayersCount(): number

Returns amount of baseLayers

Returns

number

Inherited from

FlippedComponentNode.getBaseLayersCount


getBounds

getBounds(): Rect

Get the node bounds.

Returns

Rect

component node bounds

Inherited from

FlippedComponentNode.getBounds


getCache

getCache(): Cache

Return cache strategy to be used to cache children nodes

Returns

Cache

cache

Inherited from

FlippedComponentNode.getCache


getChild

getChild(i): Node

Return node by index

Parameters

Name Type Description
inumberindex of the node

Returns

Node

Inherited from

FlippedComponentNode.getChild


getChildren

getChildren<S>(predicate, modify?): Iterator<S>

Return iterator by child nodes

Type parameters

NameType
Sextends Node<S>

Parameters

Name Type Description
predicate(value: Node) => value is Sa filter function
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<S>

Inherited from

FlippedComponentNode.getChildren

getChildren(filter?, modify?): Iterator<Node>

Returns an iterator for child nodes. The iterator does not support adding or deleting items from children by default. If it is necessary to modify a collection of children, pass true as the last parameter.

Example

// Gets a writable iterator
const it = node.getChildren(null, true);

Parameters

Name Type Description
Optional filter(node: Node) => booleanA filter function. Returns all nodes if null.
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

An iterator for child nodes.

Inherited from

FlippedComponentNode.getChildren


getChildrenCount

getChildrenCount(): number

Return number of child nodes

Returns

number

Inherited from

FlippedComponentNode.getChildrenCount


getClassName

getClassName(): string

Returns

string

Inherited from

FlippedComponentNode.getClassName


getClipStyle

getClipStyle(): ClipStyle

Gets the current clipping style

Returns

ClipStyle

clipping style

Inherited from

FlippedComponentNode.getClipStyle


getContentOrientation

getContentOrientation(): Orientation

Return content orientation

Returns

Orientation

content orientation

Inherited from

FlippedComponentNode.getContentOrientation


getContentsArea

getContentsArea(transformation?): Rect

Return area without paddings. Model limits are mapped to content area, where children are layout.

Parameters

Name Type Description
Optional transformationTransformationscene transformation

Returns

Rect

Inherited from

FlippedComponentNode.getContentsArea


getContentsTransform

getContentsTransform(): Transformation

getContentsTransform() retrieves the world transformation of the node.

Returns

Transformation

transformation from model coordinates to bounds of the group

Inherited from

FlippedComponentNode.getContentsTransform


getCss

getCss(): CssStyle

Return CSS style

Returns

CssStyle

Inherited from

FlippedComponentNode.getCss


getCssClass

getCssClass(): string

Returns css class name to be used to apply CSS style

Returns

string

the css class name

Inherited from

FlippedComponentNode.getCssClass


getCssClasses

getCssClasses(): string[]

Gets list of css class names which applied to this node

Returns

string[]

Inherited from

FlippedComponentNode.getCssClasses


getCssTransform

getCssTransform(): string

Returns CSS transformation

Returns

string

Inherited from

FlippedComponentNode.getCssTransform


getData

getData(deepCopy?): Options

Gets component data (see "setData" API for return object elements)

Parameters

Name Type Description
Optional deepCopybooleana flag indicating if the data should be fully copied before returning or not

Returns

Options

data

Inherited from

FlippedComponentNode.getData


getDescription

getDescription(deepCopy?): Description

Gets description (Convenience method)

Parameters

Name Type Description
Optional deepCopybooleana flag indicating if the data should be fully copied before returning or not

Returns

Description

description

Inherited from

FlippedComponentNode.getDescription


getDesiredHeight

getDesiredHeight(): string | number

Returns desired height of the group as a layoutable object This method is a helper method to get access to getLayoutStyle()

Returns

string | number

desired height ("undefined" by default)

Inherited from

FlippedComponentNode.getDesiredHeight


getDesiredWidth

getDesiredWidth(): string | number

Returns desired width of the group as a layoutable object. This method is a helper method to get access to getLayoutStyle()

Returns

string | number

desired width ("undefined" by default)

Inherited from

FlippedComponentNode.getDesiredWidth


getDeviceLimits

getDeviceLimits(): Rect

Return device limits

Returns

Rect

Inherited from

FlippedComponentNode.getDeviceLimits


getFillStyle

getFillStyle(): FillStyle

Return fill style

Returns

FillStyle

fillStyle current fill style

Inherited from

FlippedComponentNode.getFillStyle


getGeometryBounds

getGeometryBounds(): Rect

Gets model bounds

Returns

Rect

Inherited from

FlippedComponentNode.getGeometryBounds


getGeometryData

getGeometryData(deepCopy?): Entity

Gets geometric data to build the node on (Convenience method)

Parameters

Name Type Description
Optional deepCopybooleana flag indicating if the data should be fully copied before returning or not

Returns

Entity

geometric data

Inherited from

FlippedComponentNode.getGeometryData


getId

getId(): string | number

Returns the associated identifier of the node

Returns

string | number

The node's id

Inherited from

FlippedComponentNode.getId


getInfiniteMode

getInfiniteMode(): boolean

Return infinity mode flag

Returns

boolean

flag

Inherited from

FlippedComponentNode.getInfiniteMode


getInvalidateMethod

Protected getInvalidateMethod(): AttributeCallback<EventDispatcher>

Gets invalidate method

Returns

AttributeCallback<EventDispatcher>

method to invalidate this object

Inherited from

FlippedComponentNode.getInvalidateMethod


getLayout

getLayout(): Layout

Returns layout associated with the group

Returns

Layout

layout

Inherited from

FlippedComponentNode.getLayout


getLayoutStyle

getLayoutStyle(): LayoutStyle<string | number>

return desired layout style

Returns

LayoutStyle<string | number>

Inherited from

FlippedComponentNode.getLayoutStyle


getLineStyle

getLineStyle(): LineStyle

Return border style

Returns

LineStyle

Inherited from

FlippedComponentNode.getLineStyle


getLocalTransform

getLocalTransform(): Transformation

Retrieves the transformation of bounds to parent

Returns

Transformation

transform the local transform.

Inherited from

FlippedComponentNode.getLocalTransform


getMarginsStyle

getMarginsStyle(): SpaceStyle<string | number>

Return margins style

Returns

SpaceStyle<string | number>

Inherited from

FlippedComponentNode.getMarginsStyle


getModelLimits

getModelLimits(): Rect

Gets model limits, the limits of this groups inside space

Returns

Rect

the current model limits

Inherited from

FlippedComponentNode.getModelLimits


getName

getName(): string

Returns the node name

Returns

string

The node name

Inherited from

FlippedComponentNode.getName


getOpacity

getOpacity(): number

Returns current node opacity

Returns

number

opacity

Inherited from

FlippedComponentNode.getOpacity


getOpacityBlendMode

getOpacityBlendMode(): BlendMode

Returns current node opacity

Returns

BlendMode

opacity blend mode

Inherited from

FlippedComponentNode.getOpacityBlendMode


getOverlay

getOverlay(index): Node

Return overlay at specified index

Parameters

Name Type Description
indexnumberindex at which to get the overlay for

Returns

Node

track

Inherited from

FlippedComponentNode.getOverlay


getOverlayAt

getOverlayAt(index): Node

Return overlay at specified index

Deprecated

since 4.2 use getOverlay instead

Parameters

Name Type Description
indexnumberindex at which to get the overlay for

Returns

Node

track

Inherited from

FlippedComponentNode.getOverlayAt


getOverlays

getOverlays<S>(predicate, modify?): Iterator<Node>

Return iterator by overlays nodes

Type parameters

NameType
Sextends Node<S>

Parameters

Name Type Description
predicate(value: Node) => value is Sa filter function
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

Inherited from

FlippedComponentNode.getOverlays

getOverlays(filter?, modify?): Iterator<Node>

Returns an iterator for child overlays. The iterator does not support adding or deleting items from overlays by default. If it is necessary to modify a collection of overlays, pass true as the last parameter.

Example

// Gets a writable iterator
const it = node.getOverlays(null, true);

Parameters

Name Type Description
Optional filter(node: Node) => booleanA filter function. Returns all overlays if null.
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

An iterator for child overlays.

Inherited from

FlippedComponentNode.getOverlays


getOverlaysCount

getOverlaysCount(): number

Returns amount of overlays

Returns

number

Inherited from

FlippedComponentNode.getOverlaysCount


getPaddingStyle

getPaddingStyle(): SpaceStyle<string | number>

Return padding style

Returns

SpaceStyle<string | number>

padding

Inherited from

FlippedComponentNode.getPaddingStyle


getParent

getParent(): Node

Return parent node

Returns

Node

parent node

Inherited from

FlippedComponentNode.getParent


getPreferredSize

getPreferredSize(): Rect

Return preferred size to layout children

Returns

Rect

Inherited from

FlippedComponentNode.getPreferredSize


getProperties

getProperties(): OptionsOut

Returns properties

Returns

OptionsOut

properties

Overrides

FlippedComponentNode.getProperties


getProperty

getProperty(name): any

Gets dynamic property by name. These properties can be used as a property bags

Parameters

Name Type Description
namestringproperty name

Returns

any

Inherited from

FlippedComponentNode.getProperty


getPropertyKeys

getPropertyKeys(): string[]

Returns known properties keys

Returns

string[]

Inherited from

FlippedComponentNode.getPropertyKeys


getRenderingFilter

getRenderingFilter(): IFilter

Return filter to be used for rendering and picking

Returns

IFilter

current filter

Inherited from

FlippedComponentNode.getRenderingFilter


getRenderingHints

getRenderingHints(deepCopy?): RenderingHintsBase | RenderingHints

Gets rendering hints

Parameters

Name Type Description
Optional deepCopybooleana flag indicating if the data should be fully copied before returning or not

Returns

RenderingHintsBase | RenderingHints

rendering hints

Inherited from

FlippedComponentNode.getRenderingHints


getResponsiveStyle

getResponsiveStyle(): ResponsiveStyle

Return responsive style

Returns

ResponsiveStyle

Inherited from

FlippedComponentNode.getResponsiveStyle


getRoot

getRoot(): Node

Returns root node.
If node doesn't have parent then it returns itself.

Returns

Node

the root node

Inherited from

FlippedComponentNode.getRoot


getScaleScrollStrategy

getScaleScrollStrategy(): Delegate

Gets scale scroll strategy

Returns

Delegate

scale scroll strategy

Inherited from

FlippedComponentNode.getScaleScrollStrategy


getSceneTransform

getSceneTransform(): Transformation

Returns transformation from node to root scene

Returns

Transformation

a transformation from node to root scene

Inherited from

FlippedComponentNode.getSceneTransform


getSelected

getSelected(): boolean

Gets selected state

Returns

boolean

Inherited from

FlippedComponentNode.getSelected


getStyles

getStyles(): { classname: string ; fillstyle: FillStyle ; linestyle: LineStyle }[]

Gets graphical styles associated with it.

Returns

{ classname: string ; fillstyle: FillStyle ; linestyle: LineStyle }[]

Inherited from

FlippedComponentNode.getStyles


getTag

getTag(): any

Returns the object associated with the node by user.

Returns

any

The node's user-object

Inherited from

FlippedComponentNode.getTag


getTemplateBounds

getTemplateBounds(): Rect

Gets template bounds

Returns

Rect

Overrides

FlippedComponentNode.getTemplateBounds


getTemplateNode

getTemplateNode(): Group<Node>

Gets template node.

Returns

Group<Node>

Overrides

FlippedComponentNode.getTemplateNode


getVisible

getVisible(): boolean

Return visibility of the node

Returns

boolean

true if node is visible

Inherited from

FlippedComponentNode.getVisible


getVisibleDeviceLimits

getVisibleDeviceLimits(ignoreModelLimits?): Rect

Return visible device limits

Parameters

Name Type Description
Optional ignoreModelLimitsbooleanflag defines whether to ignore ModelLimits or not

Returns

Rect

Inherited from

FlippedComponentNode.getVisibleDeviceLimits


getVisibleModelLimits

getVisibleModelLimits(ignoreModelLimits?): Rect

Return visible model limits

Parameters

Name Type Description
Optional ignoreModelLimitsbooleanflag defines whether to ignore ModelLimits or not

Returns

Rect

Inherited from

FlippedComponentNode.getVisibleModelLimits


getWorldTransform

getWorldTransform(): Transformation

Retrieves the local transformation of the node which represents multiplication of parent to bounds and contents transformations.

Returns

Transformation

Inherited from

FlippedComponentNode.getWorldTransform


getZIndex

getZIndex(): number

Returns node z-index (null if not set)

Returns

number

Inherited from

FlippedComponentNode.getZIndex


hasCssClass

hasCssClass(cssClass): boolean

Check if node has specified css class

Parameters

Name Type Description
cssClassstringcss class name

Returns

boolean

Inherited from

FlippedComponentNode.hasCssClass


hasEventListener

hasEventListener(type, callback?): boolean

Check if a list of event listeners for this type contains this listener

Parameters

Name Type Description
typestringtype of event or property
Optional callbackFunctionto be called, if null, check if any callback is registered

Returns

boolean

Inherited from

FlippedComponentNode.hasEventListener


indexOfBaseLayer

indexOfBaseLayer(baseLayer): number

Return index of overlay ( index of the specified child or -1 if baseLayer is not found)

Parameters

Name Type Description
baseLayerNodebaseLayer to check index

Returns

number

Inherited from

FlippedComponentNode.indexOfBaseLayer


indexOfChild

indexOfChild(node): number

Return index of child ( index of the specified child or -1 if node is not found)

Parameters

Name Type Description
nodeNodenode to check index

Returns

number

Inherited from

FlippedComponentNode.indexOfChild


indexOfOverlay

indexOfOverlay(overlay): number

Return index of overlay ( index of the specified child or -1 if overlay is not found)

Parameters

Name Type Description
overlayNodeoverlay to check index

Returns

number

Inherited from

FlippedComponentNode.indexOfOverlay


insertBaseLayer

insertBaseLayer(index, baseLayer): ExternalGeometryFlippedComponentNode

Insert child baseLayer at specified index

Parameters

Name Type Description
indexnumberspecified index
baseLayerNodea baseLayer to add

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.insertBaseLayer


insertChild

insertChild(index, node): ExternalGeometryFlippedComponentNode

Insert child node at specified index

Parameters

Name Type Description
indexnumberspecified index
nodeNodea child node to add

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.insertChild


insertOverlay

insertOverlay(index, overlay): ExternalGeometryFlippedComponentNode

Insert child overlay at specified index

Parameters

Name Type Description
indexnumberspecified index
overlayNodea overlay to add

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.insertOverlay


invalidate

invalidate(bounds?, force?): ExternalGeometryFlippedComponentNode

Invalidate node

Parameters

Name Type Description
Optional boundsRectoptional rectangular area to be invalidated, or force flag if rectangle is empty
Optional forcebooleanoptional boolean parameter that can force invalidation

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.invalidate


invalidateLayout

invalidateLayout(propagate?): ExternalGeometryFlippedComponentNode

Notify that layout is invalidated. Send event Events.LayoutInvalidated

Parameters

Name Type Description
Optional propagatebooleanpropagate invalidate layout to parent

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.invalidateLayout


invalidateParent

invalidateParent(bounds?, force?): ExternalGeometryFlippedComponentNode

Invalidate parent area

Parameters

Name Type Description
Optional boundsRectarea to invalidate
Optional forcebooleanforce

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.invalidateParent


isClippingEnabled

isClippingEnabled(): boolean

Returns if clipping is enabled or not for this node.

Returns

boolean

Inherited from

FlippedComponentNode.isClippingEnabled


isDisposed

isDisposed(): boolean

Returns whether this object has been disposed

Returns

boolean

Inherited from

FlippedComponentNode.isDisposed


isEventPropagationEnabled

isEventPropagationEnabled(): boolean

Return true if event propagation is enabled from child to parent

Returns

boolean

Inherited from

FlippedComponentNode.isEventPropagationEnabled


isHorizontalFlip

isHorizontalFlip(): boolean

Return true if the representation is flipped horizontally

Returns

boolean

flip

Inherited from

FlippedComponentNode.isHorizontalFlip


isInitialized

Protected isInitialized(): boolean

Return initialization state

Returns

boolean

Inherited from

FlippedComponentNode.isInitialized


isLayoutInvalidated

isLayoutInvalidated(): boolean

Return true if layout is invalid

Returns

boolean

Inherited from

FlippedComponentNode.isLayoutInvalidated


isLeft

isLeft(): boolean

Gets if the template is "left" one.

Returns

boolean

Inherited from

FlippedComponentNode.isLeft


isNotificationEnabled

isNotificationEnabled(): boolean

return state of notification

Returns

boolean

current notification state

Inherited from

FlippedComponentNode.isNotificationEnabled


isPickingChildrenEnabled

isPickingChildrenEnabled(): boolean

Returns if picking children is enabled or not for this node.

Returns

boolean

pickingChildren

Inherited from

FlippedComponentNode.isPickingChildrenEnabled


isResourceBased

isResourceBased(): boolean

Gets "resource-based" status.

Returns

boolean

true

Overrides

FlippedComponentNode.isResourceBased


isSelectable

isSelectable(): boolean

Returns true if node can be picked/selected.

Returns

boolean

The selectable flag

Inherited from

FlippedComponentNode.isSelectable


isSilent

isSilent(): boolean

Return true if the event dispatcher doesn't notify any events

Returns

boolean

Inherited from

FlippedComponentNode.isSilent


isVerticalFlip

isVerticalFlip(): boolean

Return true if the representation is flipped vertically

Returns

boolean

flip

Inherited from

FlippedComponentNode.isVerticalFlip


moveTo

moveTo(area, vAlign?, hAlign?): ExternalGeometryFlippedComponentNode

MoveTo position of node to specified area

Parameters

Name Type Description
areaRectspecified area
Optional vAlignstringvertical alignment. It can be "top", "bottom", "center".
Optional hAlignstringhorizontal alignment It can be "left", "right", "center".

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.moveTo


notify

notify<E>(type, source, args?): ExternalGeometryFlippedComponentNode

Notify listeners of the Node

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEtype of event
sourceGroup<Node>source who called the event
Optional argsEventMap<Node>[E]event arguments

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.notify


notifyRoot

Protected notifyRoot(event, source, args?): Node

Notify an even to root node

Parameters

Name Type Description
eventstringtype of event
sourceNodesource who called the event
Optional argsanyevent arguments

Returns

Node

this

Inherited from

FlippedComponentNode.notifyRoot


off

off<E>(type?, callback?): ExternalGeometryFlippedComponentNode

Detach listener on event. Calling .off() with no arguments removes all attached listeners. Calling .off(type) with no callback removes all attached listeners for specific type.

Type parameters

NameType
Eextends string

Parameters

Name Type Description
Optional typeEtype of the event
Optional callback(eventType: E, sender: ExternalGeometryFlippedComponentNode, args: EventMap<Node>[E]) => voidfunction to be called

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.off


on

on<E>(type, callback): ExternalGeometryFlippedComponentNode

Attach listener on event that will be called whenever the specified event is delivered to the target

If the callback function is already in the list of event listeners for this target, the function is not added a second time.

If a particular anonymous function is in the list of event listeners registered for a certain target, and then later in the code, an identical anonymous function is given in an "on" call, the second function will also be added to the list of event listeners for that target.

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEtype of event or property
callback(eventType: E, sender: ExternalGeometryFlippedComponentNode, args: EventMap<Node>[E]) => voidto be called

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.on


onBoundsChanged

Protected onBoundsChanged(bounds): ExternalGeometryFlippedComponentNode

Occurs when bounds has been changed

Parameters

Name Type Description
boundsRectbound of the node in the parent coordinates

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.onBoundsChanged


onChildAdded

Protected onChildAdded(child): void

This method is called it child or children are added

Parameters

Name Type Description
childNode | Iterator<Node>added child

Returns

void

Inherited from

FlippedComponentNode.onChildAdded


onChildRemoved

Protected onChildRemoved(child): void

This method is called it child or children are removed

Parameters

Name Type Description
childNoderemoved child

Returns

void

Inherited from

FlippedComponentNode.onChildRemoved


onInitialize

Protected onInitialize(options?): void

OnInitialize - virtual method called from this.initialize(options) before this.setData(options)

Parameters

Name Type Description
Optional optionsOptionsData to set.

Returns

void

Inherited from

FlippedComponentNode.onInitialize


onParentChanged

Protected onParentChanged(node): ExternalGeometryFlippedComponentNode

This method is called when parent changes. Do not call it directly.

Parameters

Name Type Description
nodeNodenode to change parent

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.onParentChanged


onVisibilityChanged

Protected onVisibilityChanged(): void

This method is called if visibility is changed. Send event Events.VisibilityChanged

Returns

void

Inherited from

FlippedComponentNode.onVisibilityChanged


postRendering

Protected postRendering(context, callback?): void

To be called after rendering, used for PDF output

Parameters

Name Type Description
contextRenderingContextRendering Context
Optional callback() => voidcallback to be called after rendering

Returns

void

Inherited from

FlippedComponentNode.postRendering


preRendering

Protected preRendering(context, callback?): void

Occurs before child rendering

Parameters

Name Type Description
contextRenderingContextRendering Context
Optional callback() => voidcallback to be called after rendering of geometry

Returns

void

Inherited from

FlippedComponentNode.preRendering


rebuild

rebuild(force?, changes?): ExternalGeometryFlippedComponentNode

Rebuild node. This method resets state, cache, and invalidate node.

Parameters

Name Type Description
Optional forcebooleanoptional boolean parameter that can force invalidation
Optional changesStateChangesoptional parameter to specify a reason of changes

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.rebuild


registerAnimationStyle

registerAnimationStyle(root): void

Register animation style.

Parameters

Name Type Description
rootNoderoot node for node

Returns

void

Inherited from

FlippedComponentNode.registerAnimationStyle


removeBaseLayer

removeBaseLayer(baseLayer): ExternalGeometryFlippedComponentNode

Remove child baseLayer

Parameters

Name Type Description
baseLayerNode | Node[]baseLayer or array of nodes to be removed

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.removeBaseLayer


removeChild

removeChild(node, disposeChildren?): ExternalGeometryFlippedComponentNode

Remove child node

Parameters

Name Type Description
nodeNode | Node[]node or array of nodes to be removed
Optional disposeChildrenbooleanautomatically dispose children. If it is true then method dispose is called for each child.

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.removeChild


removeCssClass

removeCssClass(cssclass): ExternalGeometryFlippedComponentNode

Removes css class from node

Parameters

Name Type Description
cssclassstring | string[]css class name('s)

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.removeCssClass


removeInvalidateHandler

removeInvalidateHandler(handler): ExternalGeometryFlippedComponentNode

Remove invalidate handler

Deprecated

since 4.0, use Node.off instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.removeInvalidateHandler


removeOverlay

removeOverlay(overlay): ExternalGeometryFlippedComponentNode

Remove child overlay

Parameters

Name Type Description
overlayNode | Node[]overlay or array of nodes to be removed

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.removeOverlay


render

render(context): void

Render group

Parameters

Name Type Description
contextRenderingContextcontext to render group

Returns

void

Inherited from

FlippedComponentNode.render


renderAsync

renderAsync(context, callback): void

Render node in asynchronous mode. This implementation doesn't support cache for now.

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node
callback() => voidcallback function

Returns

void

Inherited from

FlippedComponentNode.renderAsync


renderBackground

Protected renderBackground(context, bounds): ExternalGeometryFlippedComponentNode

Render background

Parameters

Name Type Description
contextRenderingContextcontext to render background
boundsRectgroup bounds

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.renderBackground


renderBaseLayers

Protected renderBaseLayers(context): ExternalGeometryFlippedComponentNode

Render baseLayers on bottom of cache. This method does nothing, but can be implemented to render graphics on bottom of cache and between borders

Parameters

Name Type Description
contextRenderingContextcontext to render baseLayers

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.renderBaseLayers


renderBaseLayersAsync

Protected renderBaseLayersAsync(context, callback): void

Render baseLayers on bottom of cache in asynchronous mode. This method calls renderBaseLayers

Parameters

Name Type Description
contextRenderingContextcontext to render overlays
callback() => voidcallback function

Returns

void

Inherited from

FlippedComponentNode.renderBaseLayersAsync


renderChildren

Protected renderChildren(context): void

Render children

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

FlippedComponentNode.renderChildren


renderChildrenAsync

Protected renderChildrenAsync(context, callback): void

Render children async

Parameters

Name Type Description
contextRenderingContextRendering Context
callback() => voidcallback function to be called then all children are rendered

Returns

void

Inherited from

FlippedComponentNode.renderChildrenAsync


renderContent

Protected renderContent(context): void

render to specified context. This method calls preRendering, renderChildren, postRendering

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

FlippedComponentNode.renderContent


renderContentAsync

Protected renderContentAsync(context, callback): void

Render children in asynchronous mode

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node
callback() => voidcallback function to be called then all children are rendered

Returns

void

Inherited from

FlippedComponentNode.renderContentAsync


renderOverlays

Protected renderOverlays(context): ExternalGeometryFlippedComponentNode

Render overlays on top of cache. This method does nothing, but can be implemented to render graphics on top of cache and between borders

Parameters

Name Type Description
contextRenderingContextcontext to render overlays

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.renderOverlays


renderOverlaysAsync

Protected renderOverlaysAsync(context, callback): void

Render overlays on top of cache in asynchronous mode. This method calls renderOverlays

Parameters

Name Type Description
contextRenderingContextcontext to render overlays
callback() => voidcallback function

Returns

void

Inherited from

FlippedComponentNode.renderOverlaysAsync


resumeUpdate

resumeUpdate(rebuild?, changes?): ExternalGeometryFlippedComponentNode

Resume auto update

Parameters

Name Type Description
Optional rebuildbooleanforce rebuild
Optional changesStateChangesoptional parameter to specify a reason of changes

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.resumeUpdate


rotate

rotate(theta, x, y): ExternalGeometryFlippedComponentNode

Rotate bounds around a given coordinate

Parameters

Name Type Description
thetanumberangle to rotate node, in radians
xnumberx coordinate to rotate around
ynumbery coordinate to rotate around

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.rotate


scale

scale(xx, yy): ExternalGeometryFlippedComponentNode

Scale node

Parameters

Name Type Description
xxnumberx scale factor
yynumbery scale factor

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.scale


setAnimationStyle

setAnimationStyle(animationStyle): ExternalGeometryFlippedComponentNode

Sets animation style

Parameters

Name Type Description
animationStyleTypeanimation style

Returns

ExternalGeometryFlippedComponentNode

Inherited from

FlippedComponentNode.setAnimationStyle


setAutoModelLimitsMode

setAutoModelLimitsMode(mode): ExternalGeometryFlippedComponentNode

Set Model Limits Logics to use when no Model Limits have been set set to true: will use parents width and height, starting at 0 set to false: will use parents bounds. This is convenient method. It creates AutoModelLimitsStrategy

Parameters

Name Type Description
modebooleanModel Limits Logics to be used

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setAutoModelLimitsMode


setAutoModelLimitsStrategy

setAutoModelLimitsStrategy(strategy): ExternalGeometryFlippedComponentNode

Set Model Limits Logics Strategy

Parameters

Name Type Description
strategyModelLimitsStrategyModel Limits logic strategy to use

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setAutoModelLimitsStrategy


setBounds

setBounds(bounds): ExternalGeometryFlippedComponentNode

Sets bounds of the node in the parent coordinates

Parameters

Name Type Description
boundsTypebound of the node in the parent coordinates

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setBounds


setCache

setCache(cache, rebuild?): ExternalGeometryFlippedComponentNode

Sets cache to be used to cache

Parameters

Name Type Description
cacheCachecache to be used
Optional rebuildbooleanrebuild cache

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setCache


setChild

setChild(index, node): ExternalGeometryFlippedComponentNode

Replace child node by index

Parameters

Name Type Description
indexnumberindex of the node
nodeNodenode

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setChild


setClipStyle

setClipStyle(style): ExternalGeometryFlippedComponentNode

Sets a new clipping style

Parameters

Name Type Description
styleGraphicsPath | ClipStyle | Optionsa new clipping style

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setClipStyle


setContentOrientation

setContentOrientation(orientation): ExternalGeometryFlippedComponentNode

Set content orientation

Parameters

Name Type Description
orientationOrientationcontent orientation

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setContentOrientation


setCss

setCss(style, merge?): ExternalGeometryFlippedComponentNode

Sets CSS style. This style will be applied for all inserted elements

Parameters

Name Type Description
styleTypeCSS style to be applied to inserted elements
Optional mergebooleanmerge flag

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setCss


setCssClass

setCssClass(name): ExternalGeometryFlippedComponentNode

Sets css class name of the node to be used to apply CSS style

Parameters

Name Type Description
namestringcss class name of the node

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setCssClass


setCssTransform

setCssTransform(transform): ExternalGeometryFlippedComponentNode

Set CSS transformation

Parameters

Name Type Description
transformstring | Transformationtransformation css transformation instruction or Transformation instance

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setCssTransform


setData

setData(data, deepCopy?): ExternalGeometryFlippedComponentNode

Sets component data

Parameters

Name Type Description
dataOptionsdata to set
Optional deepCopybooleandeep copy flag

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setData


setDescription

setDescription(description, deepCopy?): ExternalGeometryFlippedComponentNode

Sets description (Convenience method)

Parameters

Name Type Description
descriptionDescriptionelement description
Optional deepCopybooleana flag indicating if the data should be fully copied before setting or not

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setDescription


setDesiredHeight

setDesiredHeight(value, silent?): ExternalGeometryFlippedComponentNode

Sets desired height of the group as a layoutable object

Parameters

Name Type Description
valuestring | numberdesired height to set, use 'auto' for automatic desired height
Optional silentbooleansilent setting

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setDesiredHeight


setDesiredWidth

setDesiredWidth(value, silent?): ExternalGeometryFlippedComponentNode

Sets desired width of the group as a layoutable object

Parameters

Name Type Description
valuestring | numberdesired width to set
Optional silentbooleansilent setting

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setDesiredWidth


setFillStyle

setFillStyle(fillStyle, merge?): ExternalGeometryFlippedComponentNode

Sets fill style

Parameters

Name Type Description
fillStyleTypea new fill style
Optional mergebooleantrue if you want to merge fillStyle with existing attribute, false by default

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setFillStyle


setGeometryBounds

Protected setGeometryBounds(rectBounds): ExternalGeometryFlippedComponentNode

Sets model bounds

Parameters

Name Type Description
rectBoundsRectgeometry bounds to set

Returns

ExternalGeometryFlippedComponentNode

Inherited from

FlippedComponentNode.setGeometryBounds


setGeometryData

setGeometryData(geometryData): ExternalGeometryFlippedComponentNode

Sets geometry

Parameters

Name Type Description
geometryDataEntityGeometry data for the node

Returns

ExternalGeometryFlippedComponentNode

Inherited from

FlippedComponentNode.setGeometryData


setHorizontalFlip

setHorizontalFlip(enable): ExternalGeometryFlippedComponentNode

Set horizontal flip of the representation

Parameters

Name Type Description
enablebooleanenable flip

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setHorizontalFlip


setId

setId(id): ExternalGeometryFlippedComponentNode

Allows the user to associate any identifier

Parameters

Name Type Description
idstring | numberobject id

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setId


setInfiniteMode

setInfiniteMode(infinityMode): ExternalGeometryFlippedComponentNode

Set infinity mode flag to draw composite without collision check

Parameters

Name Type Description
infinityModebooleaninfinity mode flag

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setInfiniteMode


setLayout

setLayout(layout): ExternalGeometryFlippedComponentNode

Associate layout with a group.

Parameters

Name Type Description
layoutRecord<string, any> | Layoutlayout instance to be set or layout properties to apply

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setLayout


setLayoutInvalidated

Protected setLayoutInvalidated(invalidated): void

Set invalidation status

Parameters

Name Type Description
invalidatedbooleaninvalidated layout

Returns

void

Inherited from

FlippedComponentNode.setLayoutInvalidated


setLayoutStyle

setLayoutStyle(layoutStyle, silent?, merge?): ExternalGeometryFlippedComponentNode

specify desired layout style

Parameters

Name Type Description
layoutStyleLayoutStyle<string | number> | Options<string | number>desired layout style
Optional silentbooleansilent setting
Optional mergebooleantrue if you want to merge layoutStyle with existing attribute, false by default

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setLayoutStyle


setLeft

setLeft(left): ExternalGeometryFlippedComponentNode

Sets the template's "left" flag

Parameters

Name Type Description
leftbooleanleft flag

Returns

ExternalGeometryFlippedComponentNode

Inherited from

FlippedComponentNode.setLeft


setLineStyle

setLineStyle(lineStyle, merge?): ExternalGeometryFlippedComponentNode

Sets border color Returns this

Parameters

Name Type Description
lineStyleTypeline style or options
Optional mergebooleantrue if you want to merge lineStyle with existing attribute, false by default

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setLineStyle


setLocalTransform

setLocalTransform(localTransform, force?): ExternalGeometryFlippedComponentNode

Sets local transformation to be used to transform from local to parent coordinate

Parameters

Name Type Description
localTransformTransformationlocal transformation for this node
Optional forcebooleanboolean flag to force update event if transformations are equal, false by default

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setLocalTransform


setMarginsStyle

setMarginsStyle(margins, merge?): ExternalGeometryFlippedComponentNode

Sets margins style

Parameters

Name Type Description
marginsType<string | number>margins style
Optional mergebooleantrue if you want to merge marginsStyle with existing attribute, false by default

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setMarginsStyle


setModelLimits

setModelLimits(limits): ExternalGeometryFlippedComponentNode

Sets inner model limits

Parameters

Name Type Description
limitsTypeinner limits

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setModelLimits


setName

setName(name): ExternalGeometryFlippedComponentNode

Sets name of the node

Parameters

Name Type Description
namestringThe node name

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setName


setNotification

setNotification(notify, force?): ExternalGeometryFlippedComponentNode

set notification state

Parameters

Name Type Description
notifybooleanflag set to invalidate parent or not
Optional forcebooleantrue if parent should be invalidated immediately

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setNotification


setOpacity

setOpacity(opacity, blendMode?): ExternalGeometryFlippedComponentNode

Sets node opacity

Parameters

Name Type Description
opacitynumbernode opacity from 0 to 1
Optional blendModeBlendModeopacity blend mode. If it is normal, opacity will be replaced.

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setOpacity


setPaddingStyle

setPaddingStyle(paddingStyle, merge?): ExternalGeometryFlippedComponentNode

Sets padding style

Parameters

Name Type Description
paddingStyleType<string | number>padding style
Optional mergebooleantrue if you want to merge paddingStyle with existing attribute, false by default

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setPaddingStyle


setProperties

setProperties(properties?): ExternalGeometryFlippedComponentNode

Sets properties

Parameters

Name Type Description
Optional propertiesOptionsproperties

Returns

ExternalGeometryFlippedComponentNode

this

Overrides

FlippedComponentNode.setProperties


setProperty

setProperty(name, value): ExternalGeometryFlippedComponentNode

Sets dynamic property by name

Parameters

Name Type Description
namestringproperty name
valueanyproperty value

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setProperty


setRenderingFilter

setRenderingFilter(filter): ExternalGeometryFlippedComponentNode

Sets filter to be applied before rendering and picking

Parameters

Name Type Description
filterIFilterfilter to set

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setRenderingFilter


setRenderingHints

setRenderingHints(hints, deepCopy?): ExternalGeometryFlippedComponentNode

Sets rendering hints.
When overriding the method FlippedComponentNode's inheritants must call for "FlippedComponentNode.prototype.setRenderingHints" AT THE VERY END of the method's body

Parameters

Name Type Description
hintsRenderingHintsBase | RenderingHintsrendering hints
Optional deepCopybooleana flag indicating if the data should be fully copied before returning or not

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setRenderingHints


setResourceBased

setResourceBased(resourceBased): ExternalGeometryFlippedComponentNode

Sets "resource-based" status

Parameters

Name Type Description
resourceBasedboolean"resource-based" status

Returns

ExternalGeometryFlippedComponentNode

this


setResponsiveStyle

setResponsiveStyle(style): ExternalGeometryFlippedComponentNode

Sets responsive style.

Parameters

Name Type Description
styleOptions | ResponsiveStyleresponsive style

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setResponsiveStyle


setScaleScrollStrategy

setScaleScrollStrategy(strategy?): ExternalGeometryFlippedComponentNode

Sets scale scroll strategy

Parameters

Name Type Description
Optional strategyDelegatescale scroll strategy

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setScaleScrollStrategy


setSelectable

setSelectable(selectable): ExternalGeometryFlippedComponentNode

Allows to select node. If node is not selectable then child node is not selectable.

Parameters

Name Type Description
selectablebooleanflag to allow node selection

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setSelectable


setSelected

setSelected(selected): ExternalGeometryFlippedComponentNode

Sets selected state

Parameters

Name Type Description
selectedbooleanselected state

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setSelected


setSilent

setSilent(bool): ExternalGeometryFlippedComponentNode

Set silent mode

Parameters

Name Type Description
boolbooleanflag to enable silent mode

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setSilent


setTag

setTag(tag): ExternalGeometryFlippedComponentNode

Allows the user to associate any arbitrary object with the node.

Parameters

Name Type Description
taganyThe object to be associated with the node.

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setTag


setVerticalFlip

setVerticalFlip(flip): ExternalGeometryFlippedComponentNode

Set vertical flip of the representation

Parameters

Name Type Description
flipbooleanflag to set the vertical flip of the representation

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setVerticalFlip


setVisible

setVisible(value): ExternalGeometryFlippedComponentNode

Sets visibility of the node. Send event Events.VisibilityChanged

Parameters

Name Type Description
valuebooleanflag specifying visibility of the node

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setVisible


setVisibleModelLimits

setVisibleModelLimits(visibleModelBounds, deviceBounds?): ExternalGeometryFlippedComponentNode

Set visible model limits

Parameters

Name Type Description
visibleModelBoundsRectvisible model limits or bounds
Optional deviceBoundsRectdevice bounds

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setVisibleModelLimits


setZIndex

setZIndex(value): ExternalGeometryFlippedComponentNode

Sets z-index for node (set null for default)

Parameters

Name Type Description
valuenumberindex determining node z-position

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.setZIndex


shear

shear(shx, shy): ExternalGeometryFlippedComponentNode

Shear this node's bounds

Parameters

Name Type Description
shxnumberx-axis shear
shynumbery-axis shear

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.shear


suspendUpdate

suspendUpdate(): ExternalGeometryFlippedComponentNode

Suspend auto update

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.suspendUpdate


toString

toString(): string

Gets component's textual description.
The returned string contains description (if available, name otherwise), plus geometry information: 'depth' ('from' and 'to'), as well as 'diameter' ('outer' and 'inner')

Returns

string

Inherited from

FlippedComponentNode.toString


translate

translate(tx, ty): ExternalGeometryFlippedComponentNode

Translate bounds

Parameters

Name Type Description
txnumberx translation
tynumbery translation

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.translate


unregisterAnimationStyle

unregisterAnimationStyle(root): void

Unregister animation style.

Parameters

Name Type Description
rootAnimatedNoderoot node for node

Returns

void

Inherited from

FlippedComponentNode.unregisterAnimationStyle


updateLayout

updateLayout(targets?): ExternalGeometryFlippedComponentNode

Updates layout(s)

Fires

Events.LayoutUpdated

Parameters

Name Type Description
Optional targetsILayoutable[]optional parameter about which element to layout

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.updateLayout


updateSceneTransformation

updateSceneTransformation(): ExternalGeometryFlippedComponentNode

Update scene transformation

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.updateSceneTransformation


updateShapeGeometry

updateShapeGeometry(context): void

Updates (if needed) shape geometry depending on rendering context state. The implementation does nothing

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

FlippedComponentNode.updateShapeGeometry


updateState

updateState(regions?, changes?): ExternalGeometryFlippedComponentNode

Update state. These methods reset node state and update state for children. this method is useful to refresh a scene graph

Parameters

Name Type Description
Optional regionsRect[]optional array to return invalid rectangles in the parent coordinates
Optional changesStateChangesoptional parameter to specify a reason of changes

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.updateState


updateSuspended

updateSuspended(): boolean

Return state of suspend state

Returns

boolean

state of update

Inherited from

FlippedComponentNode.updateSuspended


updateTimeStamp

Protected updateTimeStamp(): ExternalGeometryFlippedComponentNode

Update time stamp to indicate that Node or Children has been changed.

Returns

ExternalGeometryFlippedComponentNode

this

Inherited from

FlippedComponentNode.updateTimeStamp


validGeometryData

validGeometryData(geometryData): boolean

Validates geometry data.

Parameters

Name Type Description
geometryDataEntityGeometry data

Returns

boolean

Inherited from

FlippedComponentNode.validGeometryData


enableSceneGraphNotification

Static enableSceneGraphNotification(enabled): void

Enable / disable all notifications

Parameters

Name Type Description
enabledbooleansets if this object sends notifications

Returns

void

Inherited from

FlippedComponentNode.enableSceneGraphNotification


findParent

Static findParent<T>(node, classType, filter?): InstanceType<T>

Find root of the node with specified type

Type parameters

NameType
Textends Constructor<any>

Parameters

Name Type Description
nodeNodenode to start search
classTypeTtype of the class to search for
Optional filter(node: Node) => booleanadditional filter to apply

Returns

InstanceType<T>

Inherited from

FlippedComponentNode.findParent

Static findParent(node, classType, filter?): Node

Find root of the node with specified type

Parameters

Name Type Description
nodeNodenode to start search
classTypestringinterface name to search for
Optional filter(node: Node) => booleanadditional filter to apply

Returns

Node

Inherited from

FlippedComponentNode.findParent


getClassName

Static getClassName(): string

Returns

string

Inherited from

FlippedComponentNode.getClassName


isSceneGraphNotificationEnabled

Static isSceneGraphNotificationEnabled(): boolean

Return status of the global notification for all nodes.

Returns

boolean

Inherited from

FlippedComponentNode.isSceneGraphNotificationEnabled