[][src]Struct oox::shared::drawingml::coordsys::Transform2D

pub struct Transform2D {
    pub rotate_angle: Option<Angle>,
    pub flip_horizontal: Option<bool>,
    pub flip_vertical: Option<bool>,
    pub offset: Option<Point2D>,
    pub extents: Option<PositiveSize2D>,
}

Fields

rotate_angle: Option<Angle>

Specifies the rotation of the Graphic Frame. The units for which this attribute is specified in reside within the simple type definition referenced below.

flip_horizontal: Option<bool>

Specifies a horizontal flip. When true, this attribute defines that the shape is flipped horizontally about the center of its bounding box.

Defaults to false

flip_vertical: Option<bool>

Specifies a vertical flip. When true, this attribute defines that the group is flipped vertically about the center of its bounding box.

offset: Option<Point2D>

This element specifies the location of the bounding box of an object. Effects on an object are not included in this bounding box.

extents: Option<PositiveSize2D>

This element specifies the size of the bounding box enclosing the referenced object.

Methods

impl Transform2D[src]

pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>[src]

Trait Implementations

impl Clone for Transform2D[src]

impl Copy for Transform2D[src]

impl Debug for Transform2D[src]

impl Default for Transform2D[src]

impl PartialEq<Transform2D> for Transform2D[src]

impl StructuralPartialEq for Transform2D[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.