RoughBoxShape enum
The shape to use when rendering a RoughBoxDecoration.
Values
- rectangle → const RoughBoxShape
-
An axis-aligned, 2D rectangle. May have rounded corners (described by a BorderRadius). The center of edges of the rectangle will match the edges of the box into which the RoughBoxDecoration is painted.
- circle → const RoughBoxShape
-
A circle centered in the middle of the box into which the Border or BoxDecoration is painted. The diameter of the circle is the shortest dimension of the box, either the width or the height, such that the circle path center touches the edges of the box.
- ellipse → const RoughBoxShape
-
An ellipse centered in the middle of the box into which the Border or BoxDecoration is painted. The horizontal diameter of the ellipse is the width the box and the vertical diameter is the height of the box, such that the ellipse path center touches the edges of the box.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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<
RoughBoxShape> - A constant List of the values in this enum, in order of their declaration.