UvBorder class final
A drawable border composed of Sides and corner glyphs.
Constructors
- UvBorder({required Side top, required Side bottom, required Side left, required Side right, required Side topLeft, required Side topRight, required Side bottomLeft, required Side bottomRight})
-
const
Properties
- bottom → Side
-
final
- bottomLeft → Side
-
final
- bottomRight → Side
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- left → Side
-
final
- right → Side
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → Side
-
final
- topLeft → Side
-
final
- topRight → Side
-
final
Methods
-
bounds(
) → Rectangle - Returns a zero-sized bounds rectangle (borders draw into provided areas).
-
draw(
Screen screen, Rectangle area) → void -
Draws this border around the given
area. -
link(
Link link) → UvBorder -
Returns a new UvBorder with
linkapplied to all sides. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
style(
UvStyle style) → UvBorder -
Returns a new UvBorder with
styleapplied to all sides. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited