A canonical implementation of the IStripeDefaults interface.
Type Details
- yfiles module
- view-table
- yfiles-umd modules
- view-table, view
- Legacy UMD name
- yfiles.graph.StripeDefaults
Constructors
Default constructor
Remarks
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- insets - Insets
The default insets for a stripe. This option sets the insets 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 default insets for a stripe.
Gets or sets the defaults for labels at stripes.
Implements
Gets or sets the default minimum stripe size.
Gets or sets the default stripe size.
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.