Packageardisia.components.separators
Classpublic class SeparatorBase
InheritanceSeparatorBase Inheritance spark.components.Group
Subclasses HSeparator, VSeparator

Base class for components that display vertical and horizontal separator strokes (lines). The Separator components allow a developer to provide visually appealing breaks between layout elements and alter the spacing between elements without changing the gap in the layout.

View the technical documentation on the Ardisia Labs website for more information.

Default MXML PropertymxmlContent



Protected Methods
 MethodDefined By
  
[override]
SeparatorBase
Styles
 Style Description Defined By
  
paddingBottom
Type: Number CSS Inheritance: no
Bottom padding to apply below the strokes. The default value is 0 or 10 depending on direction.
SeparatorBase
  
paddingLeft
Type: Number CSS Inheritance: no
Left padding to apply left of the strokes. The default value is 0 or 20 depending on direction.
SeparatorBase
  
paddingRight
Type: Number CSS Inheritance: no
Right padding to apply right of the strokes. The default value is 0 or 20 depending on direction.
SeparatorBase
  
paddingTop
Type: Number CSS Inheritance: no
Top padding to apply above the strokes. The default value is 0 or 10 depending on direction.
SeparatorBase
  
primaryStrokeAlpha
Type: Number CSS Inheritance: no
The alpha of the primary stroke. The default value is 0.5.
SeparatorBase
  
primaryStrokeColor
Type: uint Format: Color CSS Inheritance: no
The color of the primary stroke. The default value is #000000.
SeparatorBase
  
primaryStrokeThickness
Type: Number CSS Inheritance: no
The thickness of the primary stroke. The default value is 1.
SeparatorBase
  
secondaryStrokeAlpha
Type: Number CSS Inheritance: no
The alpha of the secondary stroke. The default value is 0.2.
SeparatorBase
  
secondaryStrokeColor
Type: uint Format: Color CSS Inheritance: no
The color of the secondary stroke. The default value is #000000.
SeparatorBase
  
secondaryStrokeThickness
Type: Number CSS Inheritance: no
The thickness of the secondary stroke. The default value is 1.
SeparatorBase
Method Detail
commitProperties()method
override protected function commitProperties():void