A canonical implementation of the IStripeDefaults interface.
Type Details
- yFiles module
- view
Constructors
Default constructor
Remarks
This constructor sets the style to VOID_NODE_STYLE and the padding to EMPTY
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- padding - Insets
- The default padding for a stripe. This option sets the padding property on the created object.
- size - number
- The default stripe size. This option sets the size property on the created object.
- minimumSize - number
- The default minimum stripe size. This option sets the minimumSize property on the created object.
- labels - ILabelDefaults
- style - IStripeStyle
- shareStyleInstance - boolean
Properties
Gets or sets the defaults for labels at stripes.
Implements
Gets or sets the default minimum stripe size.
Property Value
The default minimum size of newly created stripes. Default value is 10
See Also
Implements
Gets or sets the default padding for a stripe.
Gets or sets the default stripe size.
Property Value
The default size of newly created stripe. Default value is 100
See Also
Implements
Gets or sets the style to use for stripes.
Remarks
Depending on the setting of shareStyleInstance the getStyleInstance method should return a clone of this instance or the very same instance.
See Also
Implements
Methods
Factory method that returns a style instance for use with newly created stripes.
Remarks
Most implementations will yield either a clone of or the style property, if shareStyleInstance is enabled, but they might use more complicated logic, too.
Returns
- ↪IStripeStyle
- The style to use, which for most implementations is either a clone of or the style property, if shareStyleInstance is enabled.