SurfaceCorners enum
📐 SurfaceCorners
Defines very simple corner appearance options for entire Surface.
Constants
- BEVEL → const SurfaceCorners
-
Only two diagonally-oppposite corners will be beveled by
radius
, while the other two remain square. Mirror the shape with bool parameterflipBevels
.const SurfaceCorners(2)
- ROUND → const SurfaceCorners
-
All four corners will be rounded. This is default, and the default value is
Surface._DEFAULT_RADIUS
.const SurfaceCorners(1)
- SQUARE → const SurfaceCorners
-
All four corners of the rectangle are square; Surface.radius will be ignored.
const SurfaceCorners(0)
-
values
→ const List<
SurfaceCorners> -
A constant List of the values in this enum, in order of their declaration.
const List<
SurfaceCorners>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited