class BaseGraphicsPathSkin
package feathers.skins
extends ProgrammaticSkin › MeasureSprite › ValidatingSprite
extended by CircleSkin, DonutSkin, EllipseSkin, HorizontalLineSkin, LeftAndRightBorderSkin, PillSkin, RectangleSkin, TabSkin, TopAndBottomBorderSkin, TriangleSkin, UnderlineSkin, VerticalLineSkin
A base class for Feathers UI skins that draw a path with a fill and border
using openfl.display.Graphics
.
1.0.0
.Variables
disabledBorder:LineStyle
How the path's border is styled when the state context is disabled. To
use this skin, the state context must implement the IUIControl
interface.
1.0.0
.See also:
disabledFill:FillStyle
How the path's fill is styled when the state context is disabled. To
use this skin, the state context must implement the IUIControl
interface.
1.0.0
.See also:
fill:FillStyle
How the path's fill is styled. For example, it could be a solid color, a gradient, or a tiled bitmap.
1.0.0
.selectedBorder:LineStyle
How the path's border is styled when the state context is selected. To
use this skin, the state context must implement the IToggle
interface.
1.0.0
.See also:
selectedFill:FillStyle
How the path's fill is styled when the state context is selected. To
use this skin, the state context must implement the IToggle
interface.
1.0.0
.See also:
Methods
privatedrawPath():Void
Subclasses should override drawPath()
to draw the skin's graphics.
1.0.0
.getBorderForState(state:EnumValue):LineStyle
Gets the border style to be used by the skin when the context's
currentState
property matches the specified state value.
If a border is not defined for a specific state, returns null
.
1.0.0
.See also:
privategetCurrentBorder():LineStyle
Returns the current border based on the state context.
1.0.0
.See also:
privategetCurrentFill():FillStyle
Returns the current fill based on the state context.
1.0.0
.See also:
getFillForState(state:EnumValue):FillStyle
Gets the fill style to be used by the skin when the context's
currentState
property matches the specified state value.
If a fill is not defined for a specific state, returns null
.
1.0.0
.See also:
setBorderForState(state:EnumValue, border:LineStyle):Void
Sets the border style to be used by the skin when the context's
currentState
property matches the specified state value.
If a color is not defined for a specific state, the value of the
border
property will be used instead.
To clear a state's border, pass in null
.
1.0.0
.See also:
setFillForState(state:EnumValue, fill:FillStyle):Void
Sets the fill style to be used by the skin when the context's
currentState
property matches the specified state value.
If a color is not defined for a specific state, the value of the fill
property will be used instead.
To clear a state's fill, pass in null
.
1.0.0
.See also: