public static class TdApi.StoryAreaPosition extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
double |
cornerRadiusPercentage
The radius of the rectangle corner rounding, as a percentage of the media width.
|
double |
heightPercentage
The height of the rectangle, as a percentage of the media height.
|
double |
rotationAngle
Clockwise rotation angle of the rectangle, in degrees; 0-360.
|
double |
widthPercentage
The width of the rectangle, as a percentage of the media width.
|
double |
xPercentage
The abscissa of the rectangle's center, as a percentage of the media width.
|
double |
yPercentage
The ordinate of the rectangle's center, as a percentage of the media height.
|
| Constructor and Description |
|---|
StoryAreaPosition()
Describes position of a clickable rectangle area on a story media.
|
StoryAreaPosition(double xPercentage,
double yPercentage,
double widthPercentage,
double heightPercentage,
double rotationAngle,
double cornerRadiusPercentage)
Describes position of a clickable rectangle area on a story media.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic double xPercentage
public double yPercentage
public double widthPercentage
public double heightPercentage
public double rotationAngle
public double cornerRadiusPercentage
public static final int CONSTRUCTOR
public StoryAreaPosition()
public StoryAreaPosition(double xPercentage,
double yPercentage,
double widthPercentage,
double heightPercentage,
double rotationAngle,
double cornerRadiusPercentage)
xPercentage - The abscissa of the rectangle's center, as a percentage of the media width.yPercentage - The ordinate of the rectangle's center, as a percentage of the media height.widthPercentage - The width of the rectangle, as a percentage of the media width.heightPercentage - The height of the rectangle, as a percentage of the media height.rotationAngle - Clockwise rotation angle of the rectangle, in degrees; 0-360.cornerRadiusPercentage - The radius of the rectangle corner rounding, as a percentage of the media width.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object