TeXViewBorderRadius class
Defines the radius for the corners of a TeXView widget's border.
Constructors
- TeXViewBorderRadius.all(int? all, {TeXViewSizeUnit? sizeUnit})
-
Creates a border radius with a uniform value for all four corners.
const
- TeXViewBorderRadius.only({TeXViewSizeUnit? sizeUnit, int? topLeft, int? topRight, int? bottomRight, int? bottomLeft})
-
Creates a border radius with potentially different values for each corner.
const
Properties
- all → int?
-
A uniform radius for all four corners.
final
- bottomLeft → int?
-
The radius for the bottom-left corner.
final
- bottomRight → int?
-
The radius for the bottom-right corner.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeUnit → TeXViewSizeUnit?
-
The unit for the radius values (e.g., pixels, percentage).
final
- topLeft → int?
-
The radius for the top-left corner.
final
- topRight → int?
-
The radius for the top-right corner.
final
Methods
-
getRadius(
) → String -
Converts this border radius definition into a CSS
border-radiusstring. -
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