pub type StoryAreaPosition = AreaPosition;Expand description
Former name of AreaPosition.
Aliased Type§
pub struct StoryAreaPosition {
pub x_percentage: f64,
pub y_percentage: f64,
pub width_percentage: f64,
pub height_percentage: f64,
pub rotation_angle: f64,
pub corner_radius_percentage: f64,
}Fields§
§x_percentage: f64Horizontal center, as a percentage of the media or card width.
y_percentage: f64Vertical center, as a percentage of the media or card height.
width_percentage: f64Width of the rectangle, as a percentage of the media or card width.
height_percentage: f64Height of the rectangle, as a percentage of the media or card height.
rotation_angle: f64The clockwise rotation angle of the rectangle, in degrees; 0-360
corner_radius_percentage: f64The radius of the rectangle corner rounding, as a percentage of the media or card width.