List of all members | Public Fields | Public Instance Methods | Static Public Attributes
storyAreaPosition Class Referencefinal

Inherits Object.

Description

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

Public Fields

double x_percentage_
 The abscissa of the rectangle's center, as a percentage of the media width.
 
double y_percentage_
 The ordinate of the rectangle's center, as a percentage of the media height.
 
double width_percentage_
 The width of the rectangle, as a percentage of the media width.
 
double height_percentage_
 The height of the rectangle, as a percentage of the media height.
 
double rotation_angle_
 Clockwise rotation angle of the rectangle, in degrees; 0-360.
 
double corner_radius_percentage_
 The radius of the rectangle corner rounding, as a percentage of the media width.
 

Public Instance Methods

 storyAreaPosition ()
 
 storyAreaPosition (double x_percentage_, double y_percentage_, double width_percentage_, double height_percentage_, double rotation_angle_, double corner_radius_percentage_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = -1533023124
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ storyAreaPosition() [1/2]

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

◆ storyAreaPosition() [2/2]

storyAreaPosition ( double  x_percentage_,
double  y_percentage_,
double  width_percentage_,
double  height_percentage_,
double  rotation_angle_,
double  corner_radius_percentage_ 
)

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

Parameters
[in]x_percentage_The abscissa of the rectangle's center, as a percentage of the media width.
[in]y_percentage_The ordinate of the rectangle's center, as a percentage of the media height.
[in]width_percentage_The width of the rectangle, as a percentage of the media width.
[in]height_percentage_The height of the rectangle, as a percentage of the media height.
[in]rotation_angle_Clockwise rotation angle of the rectangle, in degrees; 0-360.
[in]corner_radius_percentage_The radius of the rectangle corner rounding, as a percentage of the media width.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: