documentationfor yFiles for HTML 3.0.0.2

StripeStyleBase<TVisual extends Visual>

An abstract base class that makes it possible to easily implement a custom IStripeStyle.

Inheritance Hierarchy
StripeStyleBase
Implemented Interfaces

Remarks

The only method that needs to be implemented by subclasses is createVisual, however to improve rendering performance it is highly recommended to implement at least updateVisual, too.

This implementation differs from the straightforward IStripeStyle implementation in that there is no visible separation between the style and its IStripeStyleRenderer. Instead, the renderer used by the base class is fixed and delegates all calls back to the style instance.

Type Parameters

TVisual: Visual
The optional type of the created and updated by the and methods. This type argument can be omit, but specifying a more concrete type helps conveniently implementing with TypeScript.

Type Details

yFiles module
view

See Also

Constructors

Properties

Methods