[][src]Struct oox::shared::drawingml::shapeprops::TileInfoProperties

pub struct TileInfoProperties {
    pub translate_x: Option<Coordinate>,
    pub translate_y: Option<Coordinate>,
    pub scale_x: Option<Percentage>,
    pub scale_y: Option<Percentage>,
    pub flip_mode: Option<TileFlipMode>,
    pub alignment: Option<RectAlignment>,
}

Fields

translate_x: Option<Coordinate>

Specifies additional horizontal offset after alignment.

translate_y: Option<Coordinate>

Specifies additional vertical offset after alignment.

scale_x: Option<Percentage>

Specifies the amount to horizontally scale the srcRect.

scale_y: Option<Percentage>

Specifies the amount to vertically scale the srcRect.

flip_mode: Option<TileFlipMode>

Specifies the direction(s) in which to flip the source image while tiling. Images can be flipped horizontally, vertically, or in both directions to fill the entire region.

alignment: Option<RectAlignment>

Specifies where to align the first tile with respect to the shape. Alignment happens after the scaling, but before the additional offset.

Methods

impl TileInfoProperties[src]

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

Trait Implementations

impl Clone for TileInfoProperties[src]

impl Debug for TileInfoProperties[src]

impl Default for TileInfoProperties[src]

impl PartialEq<TileInfoProperties> for TileInfoProperties[src]

impl StructuralPartialEq for TileInfoProperties[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.