StoryAreaPosition class

Describes position of a clickable rectangle area on a story media.

Inheritance
Available Extensions

Constructors

StoryAreaPosition({required double x_percentage, required double y_percentage, required double width_percentage, required double height_percentage, required double rotation_angle, int? extra, int? clientId})
Describes position of a clickable rectangle area on a story media

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
height_percentage double
The ordinate of the rectangle's center, as a percentage of the media height.
read / write
rotation_angle double
Clockwise rotation angle of the rectangle, in degrees; 0-360.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
width_percentage double
The width of the rectangle, as a percentage of the media width.
read / write
x_percentage double
The abscissa of the rectangle's center, as a percentage of the media width.
read / write
y_percentage double
The ordinate of the rectangle's center, as a percentage of the media height.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) StoryAreaPosition?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"storyAreaPosition"