Last updated

API / geotoolkit / welllog / LogMarker / LogMarker

Class: LogMarker

welllog.LogMarker.LogMarker

A Welllog marker implementation.
This shape is a horizontal line meant to be used in a LogTrack to highlight a specific depth. It holds two labels (depth and name) that can be displayed or not.
Note that this is not related to the WelllogWidget built-in markers and that this implementation is a per track marker. So it will display a line only in its track. However a marker can be added on the entire Track Container as well.

Example

// This example shows how to make the text in marker left aligned.
import {IWellTrack} from '@int/geotoolkit/welllog/multiwell/IWellTrack';
import {isInstanceOf} from '@int/geotoolkit/base';
import {LogMarker} from '@int/geotoolkit/welllog/LogMarker';
import {LineStyle} from '@int/geotoolkit/attributes/LineStyle';
import {TextStyle} from '@int/geotoolkit/attributes/TextStyle';
import {AnchorType} from '@int/geotoolkit/util/AnchorType';
for (let i = 0; i < multiWellWidget.getTracksCount(); ++i) {
// Use this conditional to check if the track is a well track (as opposed to a correlation track)
if (isInstanceOf(track, IWellTrack)) {
const marker = new LogMarker(2050);
marker.setLineStyle(new LineStyle({'color': 'black'}));
marker.setTextStyle(new TextStyle({
'color': 'black',
'font': '12px sans-serif'
}));
marker.setNameLabel('Marker 1');
marker.setNameLabelPosition(AnchorType.LeftTop); // Left-align name label
marker.setDepthLabel('2050'); // This can be customized with TVD, TVDSS values
marker.setDepthLabelPosition(AnchorType.LeftBottom); // Left-align depth label
track.getMarkerLayer().addChild(marker);
}
}

Example

// Add a marker to Time Index Track by adding a marker to the specific time position. Following code shows how to add a marker when a widget is based on time.
import {WellLogWidget} from '@int/geotoolkit/welllog/widgets/WellLogWidget';
import {TrackType} from '@int/geotoolkit/welllog/TrackType';
const minValue = new Date(2000, 0, 1, 0, 0, 0, 0).getTime();
const maxValue = new Date(2000, 5, 1, 0, 0, 0, 0).getTime();

var widget = new WellLogWidget({
'horizontalscrollable': false,
'verticalscrollable': false,
'trackcontainer': {
'border': {
'visible': false
}
},
'border': {
'visible': false
},
'header': {
'visible': true
}
}).setIndexType('time')
.setIndexUnit('ms')
.setDepthLimits(minValue, maxValue);

const marker = new LogMarker(951007515789, 'Marker')
.setLineStyle({
'color': 'red',
'width': 2
})
.setTextStyle({
'font': 'bold 14px Roboto',
'color': 'white'
})
.setNameLabelPosition(AnchorType.LeftTop)
.setFillStyleName('orange')
.setFillNameLabel(true);

widget.addTrack(TrackType.IndexTrack).addChild(marker)
.setWidth(70);

Hierarchy

Table of contents

Constructors
[new LogMarker(depth, nameLabel, depthLabel, horizontalTextOffset, verticalTextOffset)](/solutions/geotoolkit/apis/classes/geotoolkit.welllog.logmarker.logmarker.md#new logmarker(depth, namelabel, depthlabel, horizontaltextoffset, verticaltextoffset))[new LogMarker(params)](/solutions/geotoolkit/apis/classes/geotoolkit.welllog.logmarker.logmarker.md#new logmarker(params))
Methods
addCssClassaddInvalidateHandlerapplyOpacity
applyResponsiveStylecheckCollisionclone
connectStylecopyConstructordisconnectStyle
disposedrawMarkerdrawText
enableEventPropagationexecutefilter
getAnimationStylegetBaseNamegetBounds
getClassNamegetClipStylegetContentsTransform
getCssgetCssClassgetCssClasses
getCssTransformgetDataLimitsgetDepth
getDepthBorderRadiusgetDepthLabelgetDepthLabelPosition
getDescriptiongetFillStyleDepthgetFillStyleName
getHeadergetHeadersgetHorizontalTextOffset
getIdgetInvalidateMethodgetLineDecoration
getLineStylegetLocalTransformgetMarginsStyle
getMeaningDepthLimitsgetMicroPositionLeftgetMicroPositionRight
getMicroPositionTransformationgetModelLimitsgetName
getNameBorderRadiusgetNameLabelgetNameLabelPosition
getOpacitygetOpacityBlendModegetParent
getPropertiesgetPropertygetPropertyKeys
getRenderingFiltergetResponsiveStylegetRoot
getScaleScrollStrategygetSceneTransformgetTag
getTextOrientationgetTextStylegetTrack
getVerticalTextOffsetgetVisiblegetWorldTransform
getZIndexhasCssClasshasEventListener
invalidateinvalidateParentisAutoBounds
isDisposedisEventPropagationEnabledisFillDepthLabel
isFillNameLabelisHorizontalFlipisNotificationEnabled
isSelectableisSilentisVisibleDepthBorder
isVisibleDepthLabelisVisibleNameBorderisVisibleNameLabel
notifyoffon
onHeaderSetonMicroPositionChangedonParentChanged
onVisibilityChangedpostRenderingpreRendering
registerAnimationStyleremoveCssClassremoveInvalidateHandler
renderrenderAsyncrenderContent
rotatescalesetAnimationStyle
setAutoBoundssetBaseNamesetBounds
setClipStylesetCsssetCssClass
setCssTransformsetDepthsetDepthBorderRadius
setDepthLabelsetDepthLabelPositionsetDepthValue
setDescriptionsetFillDepthLabelsetFillNameLabel
setFillStylesetFillStyleDepthsetFillStyleName
setHeadersetHorizontalTextOffsetsetId
setLineDecorationsetLineStylesetLocalTransform
setMarginsStylesetMicroPositionsetName
setNameBorderRadiussetNameLabelsetNameLabelPosition
setNotificationsetOpacitysetProperties
setPropertysetRenderingFiltersetResponsiveStyle
setScaleScrollStrategysetSelectablesetSilent
setTagsetTextOrientationsetTextStyle
setVerticalTextOffsetsetVisiblesetVisibleDepthBorder
setVisibleDepthLabelsetVisibleNameBordersetVisibleNameLabel
setZIndexsheartoString
translateunregisterAnimationStyleupdateSceneTransformation
updateStateupdateTimeStampenableSceneGraphNotification
findParentgetClassNameisSceneGraphNotificationEnabled
Css Properties
Name Type Description
autoboundsbooleanEnables or disables auto bounds
basenamestringThe base name
boundsRectThe rectangle specifying position of the visual in the track. If set, autobounds will be switched off
bounds-heightnumberHeight
bounds-readonlybooleanReadonly
bounds-widthnumberWidth
bounds-xnumberLeft
bounds-ynumberTop
clipstyleClipStyleClipping style
clipstyle-evenoddbooleanTrue if evenodd mode is on (&#x27;nonzero&#x27; mode otherwise)
clipstyle-geometryGraphicsPathClipping geometry
clipstyle-geometry-boundsRectBounds
clipstyleGraphicsPathClipping style
cssclassstringThe css class name of this node
csscursorstringCSS cursor associated with node
cssstylestringCSS style to be applied to inserted elements
depthnumberDepth of marker
depthborderradiusnumberDepth border radius
depthlabelpositionAnchorTypeDepth label position
descriptionstringThe description
displaydepthlabelstringOptional depth label
displaynamelabelstringName label on marker
filldepthlabelbooleanDisplay fill depth label or not
fillnamelabelbooleanDisplay fill name label or not
fillstylestringThe Fill Style for name and depth
fillstyleFillStyleThe Fill Style for name and depth
fillstyle-colorstringColor in CSS form
fillstyle-evenoddmodebooleanEven-odd fill mode
fillstyle-fillpatternPatternPattern
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
fillstyle-fillpattern-patternnamestringName of this pattern for indexing
fillstyle-fillpattern-scalablebooleanFlag that sets scalability of the pattern coordinates, or relative to the shape it is filling (It is not supported)
fillstyle-foregroundstringForeground color
fillstyle-patternPatternPattern
fillstyledepthstringThe Fill Style depth
fillstyledepthFillStyleThe Fill Style depth
fillstylenamestringThe Fill Style name
fillstylenameFillStyleThe Fill Style name
horizontaltextoffsetnumberHorizontal label offset in device space
idstring | numberId of the node, its a unique identifier
linedecorationstringLine decoration style
linestylestringLinestyle
linestyleLineStyleLinestyle
linestyle-colorstringColor in CSS form
linestyle-fillstringOptional fill style to be used to fill lines generated with this style
linestyle-fillFillStyleOptional fill style to be used to fill lines generated with this style
linestyle-linecapCapStyleThe line cap style
linestyle-linedashoffsetnumberLine dash offset of dashed line
linestyle-linejoinJoinStyleThe line join style
linestyle-pixelsnapmodebooleanPixel Snap Mode, default(
linestyle-scalablebooleanTrue if width should depend on transformation
linestyle-unitstringOptional unit for the width
linestyle-widthnumber | stringThe line thickness
localtransformTransformationLocal transformation
localtransform-dxnumberX axis translation
localtransform-dynumberY axis translation
localtransform-xxnumberX scale
localtransform-xynumberXy skew
localtransform-yxnumberYx skew
localtransform-yynumberY scale
marginsnumber | stringIt has properties for specifying the margins for each side
microposleftnumberLeft micro position
microposrightnumberRight micro position
namestringName of the node. It is often used for debugging purposes or to simplify queries
nameborderradiusnumberName border radius
namelabelpositionAnchorTypeName label position
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
scalescrollstrategyScaleScrollStrategyScale scroll strategy
scalescrollstrategy-enabledbooleanEnable flag
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
textorientationOrientationOrientation of text
textstylestringThe TextStyle
textstyleTextStyleThe TextStyle
textstyle-alignmentAlignmentStyleAlignment
textstyle-autosizebooleanAuto font size on high definition display
textstyle-backgroundstringBackground style
textstyle-backgroundFillStyleBackground style
textstyle-baselineBaseLineStyleBase line
textstyle-colorstringColor in CSS form
textstyle-fillFillStyleText fill style
textstyle-fontstringFont see
textstyle-fonturlstringThe place from which the font will be loaded, if null - uses system fonts. It can be base64 with url keyword
textstyle-lineheightstring | numberLine height
textstyle-multilinebooleanAllow multi-line text
textstyle-outlinestringOutline style
textstyle-outlineLineStyleOutline style
textstyle-overflowwrapOverflowWrapStyleOverflow wrap
textstyle-strikethroughstringStrikethrough style
textstyle-strikethroughLineStyleStrikethrough style
textstyle-textoverflowTextOverflowStyleText overflow
textstyle-underlinestringUnderline style
textstyle-underlineLineStyleUnderline style
textstyle-underlineoffsetstring | numberUnderline offset distance
textstyle-whitespaceWhiteSpaceStyleWhite space
textstyle-wordbreakWordBreakStyleWord break
transformstringAdditional CSS transformation applied to node or &#x27;none&#x27;
transformTransformationAdditional CSS transformation applied to node or &#x27;none&#x27;
verticaltextoffsetnumberVertical label offset in device space
visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
visibledepthborderbooleanDisplay depth border or not
visibledepthlabelbooleanDisplay depth label or not
visiblenameborderbooleanDisplay name border or not
visiblenamelabelbooleanDisplay name label or not
z-indexnumberDefine node z-index

Contents

Constructors

new LogMarker(depth, nameLabel, depthLabel, horizontalTextOffset, verticalTextOffset)

new LogMarker(depth?, nameLabel?, depthLabel?, horizontalTextOffset?, verticalTextOffset?)

Constructor

Parameters

Name Type Description
Optional depthnumberdepth of the marker
Optional nameLabelstringname label on the marker
Optional depthLabelstringoptional label for depth
Optional horizontalTextOffsetnumberhorizontal label offset in device space
Optional verticalTextOffsetnumbervertical label offset in device space

Overrides

LogAbstractVisual.constructor


new LogMarker(params)

new LogMarker(params?)

Constructor

Parameters

Name Type Description
Optional paramsOptionsobject representing log marker configuration

Overrides

LogAbstractVisual.constructor

Methods

addCssClass

addCssClass(cssclass): LogMarker

Adds new css class to node

Parameters

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

Returns

LogMarker

this

Inherited from

LogAbstractVisual.addCssClass


addInvalidateHandler

addInvalidateHandler(handler): LogMarker

Add invalidate handler

Deprecated

since 4.0, use Node.on instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

LogMarker

this

Inherited from

LogAbstractVisual.addInvalidateHandler


applyOpacity

Protected applyOpacity(context): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.applyOpacity


applyResponsiveStyle

Protected applyResponsiveStyle(): void

Apply a responsive style rules it is exists

Returns

void

Inherited from

LogAbstractVisual.applyResponsiveStyle


checkCollision

checkCollision(context): boolean

Verifies if object is within given context.

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

boolean

Overrides

LogAbstractVisual.checkCollision


clone

clone(): LogMarker

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

Returns

LogMarker

clone

Overrides

LogAbstractVisual.clone


connectStyle

connectStyle(style, type, callback): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.connectStyle


copyConstructor

Protected copyConstructor(src, deepCopy?): LogMarker

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
srcLogMarkerSource to copy from
Optional deepCopybooleandeep copy

Returns

LogMarker

this

Overrides

LogAbstractVisual.copyConstructor


disconnectStyle

disconnectStyle(style, type, callback): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.disconnectStyle


dispose

dispose(): void

Disposes this node, once disposes a node should not be used anymore.
Clear all listeners, and disconnect styles to avoid memory leaks.
Also aggressively 'cleanup' this node by setting some of its members to null.

Returns

void

Inherited from

LogAbstractVisual.dispose


drawMarker

Protected drawMarker(localContext, nameLabelRect, depthLabelRect): void

Draws marker

Parameters

Name Type Description
localContextRenderingContextcontext
nameLabelRectRectbounds for name label
depthLabelRectRectbounds for depth label

Returns

void


drawText

Protected drawText(context, x, y, text, textStyle, alignment, lineStyle, fillStyle, radius?): void

Draw text

Parameters

Name Type Description
contextRenderingContextrendering context
xnumberx position to place text
ynumbery position to place text
textstringtext to be displayed
textStyleTextStyletext style
alignmentAnchorTypealignment for placement of text
lineStyleLineStyleline style
fillStyleFillStylefill style
Optional radiusnumberborder radius

Returns

void


enableEventPropagation

enableEventPropagation(enable): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.enableEventPropagation


execute

execute(delegate): LogMarker

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: LogMarker) => voidFunction to execute

Returns

LogMarker

The result if any or this

Inherited from

LogAbstractVisual.execute

execute<T>(delegate): T

Type parameters

Name
T

Parameters

Name Type
delegate(this: LogMarker) => T

Returns

T

Inherited from

LogAbstractVisual.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

LogAbstractVisual.filter


getAnimationStyle

getAnimationStyle(): AnimationStyle

Return animation style

Returns

AnimationStyle

animationStyle current animation style

Inherited from

LogAbstractVisual.getAnimationStyle


getBaseName

getBaseName(): string

Returns the base name

Returns

string

The base name

Inherited from

LogAbstractVisual.getBaseName


getBounds

getBounds(tr?): Rect

Return model limits

Parameters

Name Type Description
Optional trTransformationtransformation from marker to device

Returns

Rect

Overrides

LogAbstractVisual.getBounds


getClassName

getClassName(): string

Returns

string

Inherited from

LogAbstractVisual.getClassName


getClipStyle

getClipStyle(): ClipStyle

Gets the current clipping style

Returns

ClipStyle

clipping style

Inherited from

LogAbstractVisual.getClipStyle


getContentsTransform

getContentsTransform(): Transformation

Retrieves the world transformation of the spatial

Returns

Transformation

Inherited from

LogAbstractVisual.getContentsTransform


getCss

getCss(): CssStyle

Return CSS style

Returns

CssStyle

Inherited from

LogAbstractVisual.getCss


getCssClass

getCssClass(): string

Returns css class name to be used to apply CSS style

Returns

string

the css class name

Inherited from

LogAbstractVisual.getCssClass


getCssClasses

getCssClasses(): string[]

Gets list of css class names which applied to this node

Returns

string[]

Inherited from

LogAbstractVisual.getCssClasses


getCssTransform

getCssTransform(): string

Returns CSS transformation

Returns

string

Inherited from

LogAbstractVisual.getCssTransform


getDataLimits

getDataLimits(fullLimits?): Rect

Return meaning data limits

Parameters

Name Type Description
Optional fullLimitsbooleandefault value is false

Returns

Rect

Inherited from

LogAbstractVisual.getDataLimits


getDepth

getDepth(): number

Return depth

Returns

number

depth


getDepthBorderRadius

getDepthBorderRadius(): number

Returns depth label border radius

Returns

number


getDepthLabel

getDepthLabel(): string

Returns depth label to be displayed

Returns

string


getDepthLabelPosition

getDepthLabelPosition(): AnchorType

Return depth label position as an anchor point

Returns

AnchorType


getDescription

getDescription(): string

Gets the description

Returns

string

The description

Inherited from

LogAbstractVisual.getDescription


getFillStyleDepth

getFillStyleDepth(): FillStyle

Return fill style of depth label

Returns

FillStyle


getFillStyleName

getFillStyleName(): FillStyle

Return fill style of name label

Returns

FillStyle


getHeader

getHeader(name): LogVisualHeader<Node>

Return the header registered by the name

Parameters

Name Type Description
namestringheader name

Returns

LogVisualHeader<Node>

header

Inherited from

LogAbstractVisual.getHeader


getHeaders

getHeaders(): Record<string, LogVisualHeader<Node>>

Return an object that contains all headers registered with the visual

Returns

Record<string, LogVisualHeader<Node>>

headers

Inherited from

LogAbstractVisual.getHeaders


getHorizontalTextOffset

getHorizontalTextOffset(): number

Gets horizontal label offset in device space

Returns

number


getId

getId(): string | number

Returns the associated identifier of the node

Returns

string | number

The node's id

Inherited from

LogAbstractVisual.getId


getInvalidateMethod

Protected getInvalidateMethod(): AttributeCallback<EventDispatcher>

Gets invalidate method

Returns

AttributeCallback<EventDispatcher>

method to invalidate this object

Inherited from

LogAbstractVisual.getInvalidateMethod


getLineDecoration

getLineDecoration(): ILineDecoration

Return LogMarker Line Decoration Style

Returns

ILineDecoration


getLineStyle

getLineStyle(): LineStyle

Returns line style

Returns

LineStyle

Inherited from

LogAbstractVisual.getLineStyle


getLocalTransform

getLocalTransform(): Transformation

Retrieves the transformation of bounds to parent

Returns

Transformation

transform the local transform.

Inherited from

LogAbstractVisual.getLocalTransform


getMarginsStyle

getMarginsStyle(): SpaceStyle<string | number>

Return margins style

Returns

SpaceStyle<string | number>

Inherited from

LogAbstractVisual.getMarginsStyle


getMeaningDepthLimits

getMeaningDepthLimits(): Range

return meaning depth limits

Returns

Range


getMicroPositionLeft

getMicroPositionLeft(): number

Returns micro position left

Returns

number

Inherited from

LogAbstractVisual.getMicroPositionLeft


getMicroPositionRight

getMicroPositionRight(): number

Returns micro position right

Returns

number

Inherited from

LogAbstractVisual.getMicroPositionRight


getMicroPositionTransformation

Protected getMicroPositionTransformation(): Transformation

Returns micro position transformation

Returns

Transformation

micro position transformation

Inherited from

LogAbstractVisual.getMicroPositionTransformation


getModelLimits

getModelLimits(tr?): Rect

Return model limits

Parameters

Name Type Description
Optional trTransformationtransformation from marker to device

Returns

Rect

Overrides

LogAbstractVisual.getModelLimits


getName

getName(): string

Returns the node name

Returns

string

The node name

Inherited from

LogAbstractVisual.getName


getNameBorderRadius

getNameBorderRadius(): number

Returns name label border radius

Returns

number


getNameLabel

getNameLabel(): string

Returns name to be displayed

Returns

string


getNameLabelPosition

getNameLabelPosition(): AnchorType

Return name label position as an anchor point

Returns

AnchorType


getOpacity

getOpacity(): number

Returns current node opacity

Returns

number

opacity

Inherited from

LogAbstractVisual.getOpacity


getOpacityBlendMode

getOpacityBlendMode(): BlendMode

Returns current node opacity

Returns

BlendMode

opacity blend mode

Inherited from

LogAbstractVisual.getOpacityBlendMode


getParent

getParent(): Node

Return parent node

Returns

Node

parent node

Inherited from

LogAbstractVisual.getParent


getProperties

getProperties(): OptionsOut

Gets all the properties pertaining to this object

Returns

OptionsOut

properties object

Overrides

LogAbstractVisual.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

LogAbstractVisual.getProperty


getPropertyKeys

getPropertyKeys(): string[]

Returns known properties keys

Returns

string[]

Inherited from

LogAbstractVisual.getPropertyKeys


getRenderingFilter

getRenderingFilter(): IFilter

Return filter to be used for rendering and picking

Returns

IFilter

current filter

Inherited from

LogAbstractVisual.getRenderingFilter


getResponsiveStyle

getResponsiveStyle(): ResponsiveStyle

Return responsive style

Returns

ResponsiveStyle

Inherited from

LogAbstractVisual.getResponsiveStyle


getRoot

getRoot(): Node

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

Returns

Node

the root node

Inherited from

LogAbstractVisual.getRoot


getScaleScrollStrategy

getScaleScrollStrategy(): Delegate

Gets scale scroll strategy

Returns

Delegate

scale scroll strategy

Inherited from

LogAbstractVisual.getScaleScrollStrategy


getSceneTransform

getSceneTransform(): Transformation

Returns transformation from node to root scene

Returns

Transformation

a transformation from node to root scene

Inherited from

LogAbstractVisual.getSceneTransform


getTag

getTag(): any

Returns the object associated with the node by user.

Returns

any

The node's user-object

Inherited from

LogAbstractVisual.getTag


getTextOrientation

getTextOrientation(): Orientation

return orientation of text

Returns

Orientation


getTextStyle

getTextStyle(): TextStyle

Return text style

Returns

TextStyle


getTrack

getTrack(): ITrack

Returns parent track if LogTrack

Returns

ITrack

Inherited from

LogAbstractVisual.getTrack


getVerticalTextOffset

getVerticalTextOffset(): number

Gets vertical label offset in device space

Returns

number


getVisible

getVisible(): boolean

Return visibility of the node

Returns

boolean

true if node is visible

Inherited from

LogAbstractVisual.getVisible


getWorldTransform

getWorldTransform(): Transformation

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

Returns

Transformation

Inherited from

LogAbstractVisual.getWorldTransform


getZIndex

getZIndex(): number

Returns node z-index (null if not set)

Returns

number

Inherited from

LogAbstractVisual.getZIndex


hasCssClass

hasCssClass(cssClass): boolean

Check if node has specified css class

Parameters

Name Type Description
cssClassstringcss class name

Returns

boolean

Inherited from

LogAbstractVisual.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

LogAbstractVisual.hasEventListener


invalidate

invalidate(bounds?, force?): LogMarker

Invalidate area of the shape. This method invalidates parent by default. invalidated from parent to root node.

Parameters

Name Type Description
Optional boundsRectbounds of the invalid rectangle in the inner node coordinates
Optional forcebooleantrue if parent should be invalidated immediately if null is provided then cache (if any will be completely refreshed) otherwise only specified rect or node.bounds will be refreshed

Returns

LogMarker

this

Inherited from

LogAbstractVisual.invalidate


invalidateParent

invalidateParent(bounds?, force?): LogMarker

Invalidate bounds

Parameters

Name Type Description
Optional boundsRectmodel bounds
Optional forcebooleanforce if null is provided then cache (if any will be completely refreshed) otherwise only specified rect or node.bounds will be refreshed

Returns

LogMarker

this

Inherited from

LogAbstractVisual.invalidateParent


isAutoBounds

isAutoBounds(): boolean

Returns auto bounds value

Returns

boolean

Inherited from

LogAbstractVisual.isAutoBounds


isDisposed

isDisposed(): boolean

Returns whether this object has been disposed

Returns

boolean

Inherited from

LogAbstractVisual.isDisposed


isEventPropagationEnabled

isEventPropagationEnabled(): boolean

Return true if event propagation is enabled from child to parent

Returns

boolean

Inherited from

LogAbstractVisual.isEventPropagationEnabled


isFillDepthLabel

isFillDepthLabel(): boolean

Return true if depth label fill style enabled. It is enabled by default.

Returns

boolean


isFillNameLabel

isFillNameLabel(): boolean

Return true if name label fill style enabled. It is enabled by default.

Returns

boolean


isHorizontalFlip

isHorizontalFlip(): boolean

Return true if the representation is flipped horizontally

Returns

boolean

horizontal flip

Inherited from

LogAbstractVisual.isHorizontalFlip


isNotificationEnabled

isNotificationEnabled(): boolean

return state of notification

Returns

boolean

current notification state

Inherited from

LogAbstractVisual.isNotificationEnabled


isSelectable

isSelectable(): boolean

Returns true if node can be picked/selected.

Returns

boolean

The selectable flag

Inherited from

LogAbstractVisual.isSelectable


isSilent

isSilent(): boolean

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

Returns

boolean

Inherited from

LogAbstractVisual.isSilent


isVisibleDepthBorder

isVisibleDepthBorder(): boolean

Return true if depth label border is visible. It is visible by default.

Returns

boolean


isVisibleDepthLabel

isVisibleDepthLabel(): boolean

Return true if depth label is visible. It is visible by default.

Returns

boolean


isVisibleNameBorder

isVisibleNameBorder(): boolean

Return true if Name label border is visible. It is visible by default.

Returns

boolean


isVisibleNameLabel

isVisibleNameLabel(): boolean

Return true if name label is visible. It is visible by default.

Returns

boolean


notify

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

Notify listeners of the Node

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEtype of event
sourceLogAbstractVisualsource who called the event
Optional argsEventMap[E]event arguments

Returns

LogMarker

this

Inherited from

LogAbstractVisual.notify


off

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

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: LogMarker, args: EventMap[E]) => voidfunction to be called

Returns

LogMarker

this

Inherited from

LogAbstractVisual.off


on

on<E>(type, callback): LogMarker

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: LogMarker, args: EventMap[E]) => voidto be called

Returns

LogMarker

this

Inherited from

LogAbstractVisual.on


onHeaderSet

Protected onHeaderSet(name, headerInstance, silent?): void

This method is called if header is set. Send event Events.HeaderSet

Parameters

Name Type Description
namestringof the container. The 'header' and 'footer' is used.
headerInstanceLogVisualHeader<Node>the header instance
Optional silentbooleansilent node to avoid sending events that header is created

Returns

void

Inherited from

LogAbstractVisual.onHeaderSet


onMicroPositionChanged

Protected onMicroPositionChanged(): LogMarker

calls when microPosition has been changed

Returns

LogMarker

this

Inherited from

LogAbstractVisual.onMicroPositionChanged


onParentChanged

Protected onParentChanged(node): LogMarker

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

Parameters

Name Type Description
nodeNodenode to change parent

Returns

LogMarker

this

Inherited from

LogAbstractVisual.onParentChanged


onVisibilityChanged

Protected onVisibilityChanged(): void

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

Returns

void

Inherited from

LogAbstractVisual.onVisibilityChanged


postRendering

Protected postRendering(context): void

To be called after rendering. Call this method if you override method render

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

LogAbstractVisual.postRendering


preRendering

Protected preRendering(context): void

Occurs before rendering this method sets clipping by default. Call this method if you override method render

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

LogAbstractVisual.preRendering


registerAnimationStyle

registerAnimationStyle(root): void

Register animation style.

Parameters

Name Type Description
rootNoderoot node for node

Returns

void

Inherited from

LogAbstractVisual.registerAnimationStyle


removeCssClass

removeCssClass(cssclass): LogMarker

Removes css class from node

Parameters

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

Returns

LogMarker

this

Inherited from

LogAbstractVisual.removeCssClass


removeInvalidateHandler

removeInvalidateHandler(handler): LogMarker

Remove invalidate handler

Deprecated

since 4.0, use Node.off instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

LogMarker

this

Inherited from

LogAbstractVisual.removeInvalidateHandler


render

render(context): void

Renders node

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node

Returns

void

Inherited from

LogAbstractVisual.render


renderAsync

renderAsync(context, callback): void

Render node in asynchronous mode. Default implementation creates call method "render" inside

Parameters

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

Returns

void

Inherited from

LogAbstractVisual.renderAsync


renderContent

Protected renderContent(context): void

Renders node content

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node

Returns

void

Inherited from

LogAbstractVisual.renderContent


rotate

rotate(theta, x, y): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.rotate


scale

scale(xx, yy): LogMarker

Scale node

Parameters

Name Type Description
xxnumberx scale factor
yynumbery scale factor

Returns

LogMarker

this

Inherited from

LogAbstractVisual.scale


setAnimationStyle

setAnimationStyle(animationStyle): LogMarker

Sets animation style

Parameters

Name Type Description
animationStyleTypeanimation style

Returns

LogMarker

Inherited from

LogAbstractVisual.setAnimationStyle


setAutoBounds

setAutoBounds(enable): LogMarker

Enables or disables auto bounds. If auto bounds is enabled then it equals to parent model limits

Parameters

Name Type Description
enablebooleanEnables or disables auto bounds

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setAutoBounds


setBaseName

setBaseName(name): LogMarker

Sets base name of the visual

Parameters

Name Type Description
namestringThe base name

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setBaseName


setBounds

setBounds(bounds): LogMarker

Sets bounds of the visual in the parent coordinates and sets up auto bounds to false

Parameters

Name Type Description
boundsRectthe rectangle specifying position of the visual in the track.

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setBounds


setClipStyle

setClipStyle(style): LogMarker

Sets a new clipping style

Parameters

Name Type Description
styleGraphicsPath | ClipStyle | Optionsa new clipping style

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setClipStyle


setCss

setCss(style, merge?): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.setCss


setCssClass

setCssClass(name): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.setCssClass


setCssTransform

setCssTransform(transform): LogMarker

Set CSS transformation

Parameters

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

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setCssTransform


setDepth

setDepth(depth): LogMarker

Set depth

Parameters

Name Type Description
depthnumberdepth to place marker

Returns

LogMarker

this


setDepthBorderRadius

setDepthBorderRadius(radius): LogMarker

Sets depth label border radius

Parameters

Name Type
radiusnumber

Returns

LogMarker


setDepthLabel

setDepthLabel(depthLabel): LogMarker

Sets depth value to be displayed

Parameters

Name Type Description
depthLabelstringname to be displayed

Returns

LogMarker

this


setDepthLabelPosition

setDepthLabelPosition(anchorPoint): LogMarker

Set depth label position

Parameters

Name Type Description
anchorPointAnchorTypelabel position

Returns

LogMarker

this


setDepthValue

setDepthValue(depth, displayNameLabel?, displayDepthLabel?): LogMarker

Sets marker

Parameters

Name Type Description
depthnumberdepth to place marker
Optional displayNameLabelstringname label
Optional displayDepthLabelstringdepth label

Returns

LogMarker

this


setDescription

setDescription(description): LogMarker

Sets the description

Parameters

Name Type Description
descriptionstringThe visual description

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setDescription


setFillDepthLabel

setFillDepthLabel(enable): LogMarker

Specify depth label fill style enabled or not.

Parameters

Name Type Description
enablebooleandepth label fill style enabled or not

Returns

LogMarker

this


setFillNameLabel

setFillNameLabel(enable): LogMarker

Specify name label fill style enabled or not.

Parameters

Name Type Description
enablebooleanname label fill style enabled or not.

Returns

LogMarker

this


setFillStyle

setFillStyle(fillStyle, merge?): LogMarker

Specify fill style for both name and depth labels.

Parameters

Name Type Description
fillStyleTypefill style for both name and depth labels.
Optional mergebooleantrue if you want to merge fillStyle with existing attribute, false by default

Returns

LogMarker

this


setFillStyleDepth

setFillStyleDepth(fillStyle, merge?): LogMarker

Sets fill style of depth label

Parameters

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

Returns

LogMarker

this


setFillStyleName

setFillStyleName(fillStyle, merge?): LogMarker

Sets fill style of name label

Parameters

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

Returns

LogMarker

this


setHeader

setHeader(name, headerInstance, silent?): LogMarker

Sets header instance with specified name. This name usually defines header or footer.

Throws

if header name is null

Parameters

Name Type Description
namestringof the container. The 'header' and 'footer' is used.
headerInstanceLogVisualHeader<Node>the header instance
Optional silentbooleansilent node to avoid sending events that header is created

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setHeader


setHorizontalTextOffset

setHorizontalTextOffset(offset): LogMarker

Sets horizontal label offset in device space

Parameters

Name Type Description
offsetnumberoffset

Returns

LogMarker

this


setId

setId(id): LogMarker

Allows the user to associate any identifier

Parameters

Name Type Description
idstring | numberobject id

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setId


setLineDecoration

setLineDecoration(lineDecoration): LogMarker

Specify LogMarker Line Decoration style

Parameters

Name Type Description
lineDecorationstring | ILineDecorationline decoration style

Returns

LogMarker

this


setLineStyle

setLineStyle(lineStyle, merge?): LogMarker

Sets line style

Parameters

Name Type Description
lineStyleTypeThe style in which the line is displayed object can be in format of constructor of LineStyle
Optional mergebooleantrue if you want to merge lineStyle with existing attribute, false by default

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setLineStyle


setLocalTransform

setLocalTransform(localTransform, force?): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.setLocalTransform


setMarginsStyle

setMarginsStyle(margins, merge?): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.setMarginsStyle


setMicroPosition

setMicroPosition(left, right): LogMarker

Sets micro position (0 - 1). It allows application code to display the visual in a subarea of the track.
By default log visuals uses all space of the trace in the horizontal direction, but micro position allows to place log visual in the specified position of the track in horizontal direction. See example below

Example

// The following code places curve 20% from left and 20% from right.
curve.setMicroPosition(0.2,0.8);

Parameters

Name Type Description
leftnumberleft position
rightnumberright position

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setMicroPosition


setName

setName(name): LogMarker

Sets name of the node

Parameters

Name Type Description
namestringThe node name

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setName


setNameBorderRadius

setNameBorderRadius(radius): LogMarker

Sets name label border radius

Parameters

Name Type
radiusnumber

Returns

LogMarker


setNameLabel

setNameLabel(nameLabel): LogMarker

Sets name to be displayed

Parameters

Name Type Description
nameLabelstringname to be displayed

Returns

LogMarker

this


setNameLabelPosition

setNameLabelPosition(anchorPoint): LogMarker

Set label position

Parameters

Name Type Description
anchorPointAnchorTypelabel position

Returns

LogMarker

this


setNotification

setNotification(notify, force?): LogMarker

set notification state

Parameters

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

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setNotification


setOpacity

setOpacity(opacity, blendMode?): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.setOpacity


setProperties

setProperties(properties?): LogMarker

Sets all the properties pertaining to this object

Parameters

Name Type Description
Optional propertiesOptionsAn object containing the properties to set

Returns

LogMarker

this

Overrides

LogAbstractVisual.setProperties


setProperty

setProperty(name, value): LogMarker

Sets dynamic property by name

Parameters

Name Type Description
namestringproperty name
valueanyproperty value

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setProperty


setRenderingFilter

setRenderingFilter(filter): LogMarker

Sets filter to be applied before rendering and picking

Parameters

Name Type Description
filterIFilterfilter to set

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setRenderingFilter


setResponsiveStyle

setResponsiveStyle(style): LogMarker

Sets responsive style.

Parameters

Name Type Description
styleOptions | ResponsiveStyleresponsive style

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setResponsiveStyle


setScaleScrollStrategy

setScaleScrollStrategy(strategy?): LogMarker

Sets scale scroll strategy

Parameters

Name Type Description
Optional strategyDelegatescale scroll strategy

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setScaleScrollStrategy


setSelectable

setSelectable(selectable): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.setSelectable


setSilent

setSilent(bool): LogMarker

Set silent mode

Parameters

Name Type Description
boolbooleanflag to enable silent mode

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setSilent


setTag

setTag(tag): LogMarker

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

Parameters

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

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setTag


setTextOrientation

setTextOrientation(orientation): LogMarker

specify the orientation of text

Parameters

Name Type Description
orientationOrientationfixed orientation of text, null value means orientation determined by widget's rotation

Returns

LogMarker

this


setTextStyle

setTextStyle(textStyle, merge?): LogMarker

Sets text style

Parameters

Name Type Description
textStyleTypetext style
Optional mergebooleantrue if you want to merge textStyle with existing attribute, false by default

Returns

LogMarker

this


setVerticalTextOffset

setVerticalTextOffset(offset): LogMarker

Sets vertical label offset in device space

Parameters

Name Type Description
offsetnumberoffset

Returns

LogMarker

this


setVisible

setVisible(value): LogMarker

Sets visibility of the node. Send event Events.VisibilityChanged

Parameters

Name Type Description
valuebooleanflag specifying visibility of the node

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setVisible


setVisibleDepthBorder

setVisibleDepthBorder(visible): LogMarker

Specify depth label border visible or not.

Parameters

Name Type Description
visiblebooleandepth label border visible or not

Returns

LogMarker

this


setVisibleDepthLabel

setVisibleDepthLabel(visible): LogMarker

Specify depth label visible or not.

Parameters

Name Type Description
visiblebooleanspecifies if depth label visible or not

Returns

LogMarker

this


setVisibleNameBorder

setVisibleNameBorder(visible): LogMarker

Specify border name visible or not.

Parameters

Name Type Description
visiblebooleanborder name visible or not.

Returns

LogMarker

this


setVisibleNameLabel

setVisibleNameLabel(visible): LogMarker

Specify name label visible or not.

Parameters

Name Type Description
visiblebooleanname label visible or not.

Returns

LogMarker

this


setZIndex

setZIndex(value): LogMarker

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

Parameters

Name Type Description
valuenumberindex determining node z-position

Returns

LogMarker

this

Inherited from

LogAbstractVisual.setZIndex


shear

shear(shx, shy): LogMarker

Shear this node's bounds

Parameters

Name Type Description
shxnumberx-axis shear
shynumbery-axis shear

Returns

LogMarker

this

Inherited from

LogAbstractVisual.shear


toString

toString(): string

Returns a string representation of this object (generally the classname)

Returns

string

A string representation

Inherited from

LogAbstractVisual.toString


translate

translate(tx, ty): LogMarker

Translate bounds

Parameters

Name Type Description
txnumberx translation
tynumbery translation

Returns

LogMarker

this

Inherited from

LogAbstractVisual.translate


unregisterAnimationStyle

unregisterAnimationStyle(root): void

Unregister animation style.

Parameters

Name Type Description
rootNoderoot node for node

Returns

void

Inherited from

LogAbstractVisual.unregisterAnimationStyle


updateSceneTransformation

updateSceneTransformation(): LogMarker

Update scene transformation

Returns

LogMarker

this

Inherited from

LogAbstractVisual.updateSceneTransformation


updateState

updateState(regions?, changes?): LogMarker

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

LogMarker

this

Inherited from

LogAbstractVisual.updateState


updateTimeStamp

Protected updateTimeStamp(): LogMarker

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

Returns

LogMarker

this

Inherited from

LogAbstractVisual.updateTimeStamp


enableSceneGraphNotification

Static enableSceneGraphNotification(enabled): void

Enable / disable all notifications

Parameters

Name Type Description
enabledbooleansets if this object sends notifications

Returns

void

Inherited from

LogAbstractVisual.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

LogAbstractVisual.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

LogAbstractVisual.findParent


getClassName

Static getClassName(): string

Returns

string

Inherited from

LogAbstractVisual.getClassName


isSceneGraphNotificationEnabled

Static isSceneGraphNotificationEnabled(): boolean

Return status of the global notification for all nodes.

Returns

boolean

Inherited from

LogAbstractVisual.isSceneGraphNotificationEnabled