GuiShapeStar class
The GuiShapeStar class defines a star's properties.
- Implemented types
Constructors
Properties
- boxFit → BoxFit
-
Resize custom shape to fit rendering area.
final
- clockwise → bool
-
Direction of rotation
final
- cornerRadius → double
-
Radius of smoothing or curving corners of the shape.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indentSideFactor → double
-
A number ranging from 0 to 1.0 defining how much indentation on the sides to produce the inner
corner of the star. A value of 0 means inner corner is at center. A value of 1 means inner corner
is closer to the outer side and makes the star look more like a circle.
Default is 0.5 (half-way between center and outer edge)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sides → int
-
Number of points or sides of a star
final
- startAngle → GeoAngle
-
Starting angle of star
final
Methods
-
getPath(
{required Size size}) → Path -
Retrieve Path of shape
override
-
lerpFrom(
IGuiShape shape, double t) → IGuiShape -
Linearly interpolate from other
shape
to this shape by an extrapolation factort
.override -
lerpTo(
IGuiShape shape, double t) → IGuiShape -
Linearly interpolate from this shape to other
shape
by an extrapolation factort
.override -
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