C

NodeStyleStripeStyleAdapter

A stripe style decorator that uses a node style instance to render the stripe.
ImplementsInheritance Hierarchy

Remarks

The renderer of the nodeStyle used by this class must create SvgVisuals.

See Also

Developer's Guide

Members

No filters for this type

Constructors

Creates a stripe style that uses the provided node style to render the stripe.
Note that the styles will be stored by reference, thus modifying the style will directly affect the rendering of this instance.

Parameters

nodeStyle?: INodeStyle
The node style to use for rendering the stripe.

Properties

Gets the INodeStyle that is used for rendering the stripe.
final
Gets the renderer implementation that can be queried for implementations that provide details about the visual appearance and visual behavior for a given stripe and this style instance.
The idiom for retrieving, e.g. an IVisualCreator implementation for a given stripe is:
const creator = style.renderer.getVisualCreator(stripe, style)
const visual = creator.createVisual(context)
readonlyfinal

Methods

Create a clone of this object.

Return Value

Object
A clone of this object.