TextOriginAndExtent class
This attribute defines the upper-left corner of a rectangular region using originX and originY coordinate values and the width and height of the rectangular region using extentWidth and extentHeight, which are typically specified as percentages of the video's width and height.
- Annotations
Constructors
- TextOriginAndExtent({required double originX, required double originY, double? extentWidth, double? extentHeight})
-
Creates a new TextOriginAndExtent object.
const
Properties
- extentHeight → double?
-
The height of the rectangular region.
final
- extentWidth → double?
-
The width of the rectangular region.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- originX → double
-
The x-coordinate of the upper-left corner of the rectangular region.
final
- originY → double
-
The y-coordinate of the upper-left corner of the rectangular region.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addValue(
{double? originX, double? originY, double? extentWidth, double? extentHeight}) → TextOriginAndExtent - Adds values to the current TextOriginAndExtent object.
-
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.
override
Constants
- none → const TextOriginAndExtent
- A no text origin and extent object. This is a caption with originX, originY, extentWidth, and extentHeight of zero.