StrokeJoin enum Null safety
Styles to use for line segment joins.
This only affects line joins for polygons drawn by Canvas.drawPath and rectangles, not points drawn as lines with Canvas.drawPoints.
See also:
- Paint.strokeJoin and Paint.strokeMiterLimit for how this value is used.
- StrokeCap for the different kinds of line endings.
Constructors
- StrokeJoin()
-
const
Values
- miter → const StrokeJoin
-
Joins between line segments form sharp corners.
The center of the line segment is colored in the diagram above to highlight the join, but in normal usage the join is the same color as the line.
See also:
- Paint.strokeJoin, used to set the line segment join style to this value.
- Paint.strokeMiterLimit, used to define when a miter is drawn instead of a bevel when the join is set to this value.
StrokeJoin()
- round → const StrokeJoin
-
Joins between line segments are semi-circular.
The center of the line segment is colored in the diagram above to highlight the join, but in normal usage the join is the same color as the line.
See also:
- Paint.strokeJoin, used to set the line segment join style to this value.
StrokeJoin()
- bevel → const StrokeJoin
-
Joins between line segments connect the corners of the butt ends of the line segments to give a beveled appearance.
The center of the line segment is colored in the diagram above to highlight the join, but in normal usage the join is the same color as the line.
See also:
- Paint.strokeJoin, used to set the line segment join style to this value.
StrokeJoin()
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
StrokeJoin> -
A constant List of the values in this enum, in order of their declaration.
[miter, round, bevel]