[−][src]Struct oox::shared::drawingml::shapeprops::TransformEffect
This element specifies a transform effect. The transform is applied to each point in the shape's geometry using the following matrix:
sx tan(kx) tx x tan(ky) sy ty * y 0 0 1 1
Fields
scale_x: Option<Percentage>
Specifies a percentage by which to horizontally scale the object.
Defaults to 100_000
scale_y: Option<Percentage>
Specifies a percentage by which to vertically scale the object.
Defaults to 100_000
translate_x: Option<Coordinate>
Specifies an amount by which to shift the object along the x-axis.
Defaults to 0
translate_y: Option<Coordinate>
Specifies an amount by which to shift the object along the y-axis.
Defaults to 0
skew_x: Option<FixedAngle>
Specifies the horizontal skew angle, defined as the angle between the top-left corner and bottom-left corner of the object's original bounding box. If positive, the bottom edge of the shape is positioned to the right relative to the top edge.
Defaults to 0
skew_y: Option<FixedAngle>
Specifies the vertical skew angle, defined as the angle between the top-left corner and top-right corner of the object's original bounding box. If positive, the right edge of the object is positioned lower relative to the left edge.
Defaults to 0
Methods
impl TransformEffect
[src]
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>
[src]
Trait Implementations
impl Clone for TransformEffect
[src]
fn clone(&self) -> TransformEffect
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TransformEffect
[src]
impl Default for TransformEffect
[src]
fn default() -> TransformEffect
[src]
impl PartialEq<TransformEffect> for TransformEffect
[src]
fn eq(&self, other: &TransformEffect) -> bool
[src]
fn ne(&self, other: &TransformEffect) -> bool
[src]
impl StructuralPartialEq for TransformEffect
[src]
Auto Trait Implementations
impl RefUnwindSafe for TransformEffect
impl Send for TransformEffect
impl Sync for TransformEffect
impl Unpin for TransformEffect
impl UnwindSafe for TransformEffect
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,