javafx.scene.shape.Shape .
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| public static final BorderStrokeStyle | DASHED
A predefined dashed pattern to be used for stroking |
| private static final List | |
| private final double | |
| public static final BorderStrokeStyle | DOTTED
A predefined dotted pattern to be used for stroking |
| private static final List | |
| private final int | hash
A cached hash code |
| private final StrokeLineCap | |
| private final StrokeLineJoin | |
| private final double | |
| public static final BorderStrokeStyle | NONE
Indicates that no stroke should be drawn. |
| public static final BorderStrokeStyle | SOLID
A predefined solid line to be used for stroking |
| private final StrokeType |
| Access | Constructor and Description |
|---|---|
| public | BorderStrokeStyle(StrokeType
The type of stroke, whether rendered OUTSIDE, INSIDE, or CENTERED on the
border line. If null, defaults to CENTERED. type, StrokeLineJoin The line join. If null, defaults to MITER lineJoin, StrokeLineCap The line cap. If null, defaults to BUTT. lineCap, double The miter limit. 10 is a good default value. miterLimit, double The dashOffset. 0 is a good default value. dashOffset, List<Double> The dash array. If null, defaults to an empty list. dashArray)Creates a new BorderStrokeStyle. |
| Modifier and Type | Method and Description |
|---|---|
| private static List | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public final List | Returns: the array representing the lengths of the dash segmentsDefines the array representing the lengths of the dash segments. |
| public final double | Returns: the offset into the dashing patternDefines a distance specified in user coordinates that represents an offset into the dashing pattern. |
| public final StrokeLineCap | Returns: the end cap styleThe end cap style of this |
| public final StrokeLineJoin | Returns: the decoration applied where path segments meetDefines the decoration applied where path segments meet. |
| public final double | Returns: the limit for the StrokeLineJoin.MITER line join styleDefines the limit for the |
| public final StrokeType | Returns: the the direction that the strokeWidth is applied to the boundary of the shapeDefines the direction (inside, outside, or both) that the strokeWidth is applied to the boundary of the shape. |
| public int | |
| public String |
| dashArray | back to summary |
|---|---|
| private final List<Double> dashArray | |
| DASHED | back to summary |
|---|---|
| public static final BorderStrokeStyle DASHED A predefined dashed pattern to be used for stroking | |
| DASHED_LIST | back to summary |
|---|---|
| private static final List<Double> DASHED_LIST | |
| dashOffset | back to summary |
|---|---|
| private final double dashOffset | |
| DOTTED | back to summary |
|---|---|
| public static final BorderStrokeStyle DOTTED A predefined dotted pattern to be used for stroking | |
| DOTTED_LIST | back to summary |
|---|---|
| private static final List<Double> DOTTED_LIST | |
| hash | back to summary |
|---|---|
| private final int hash A cached hash code | |
| lineCap | back to summary |
|---|---|
| private final StrokeLineCap lineCap | |
| lineJoin | back to summary |
|---|---|
| private final StrokeLineJoin lineJoin | |
| miterLimit | back to summary |
|---|---|
| private final double miterLimit | |
| NONE | back to summary |
|---|---|
| public static final BorderStrokeStyle NONE Indicates that no stroke should be drawn. | |
| SOLID | back to summary |
|---|---|
| public static final BorderStrokeStyle SOLID A predefined solid line to be used for stroking | |
| type | back to summary |
|---|---|
| private final StrokeType type | |
| BorderStrokeStyle | back to summary |
|---|---|
| public BorderStrokeStyle(StrokeType type, StrokeLineJoin lineJoin, StrokeLineCap lineCap, double miterLimit, double dashOffset, List<Double> dashArray) Creates a new BorderStrokeStyle.
| |
| asList | back to summary |
|---|---|
| private static List | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getDashArray | back to summary |
|---|---|
| public final List Defines the array representing the lengths of the dash segments.
Alternate entries in the array represent the user space lengths
of the opaque and transparent segments of the dashes.
As the pen moves along the outline of the | |
| getDashOffset | back to summary |
|---|---|
| public final double getDashOffset() Defines a distance specified in user coordinates that represents an offset into the dashing pattern. In other words, the dash phase defines the point in the dashing pattern that will correspond to the beginning of the stroke.
| |
| getLineCap | back to summary |
|---|---|
| public final StrokeLineCap getLineCap() The end cap style of this
| |
| getLineJoin | back to summary |
|---|---|
| public final StrokeLineJoin getLineJoin() Defines the decoration applied where path segments meet.
The value must have one of the following values:
| |
| getMiterLimit | back to summary |
|---|---|
| public final double getMiterLimit() Defines the limit for the
| |
| getType | back to summary |
|---|---|
| public final StrokeType getType() Defines the direction (inside, outside, or both) that the strokeWidth is applied to the boundary of the shape.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |