[][src]Struct oox::shared::drawingml::core::ShapeProperties

pub struct ShapeProperties {
    pub black_and_white_mode: Option<BlackWhiteMode>,
    pub transform: Option<Box<Transform2D>>,
    pub geometry: Option<Geometry>,
    pub fill_properties: Option<FillProperties>,
    pub line_properties: Option<Box<LineProperties>>,
    pub effect_properties: Option<EffectProperties>,
}

Fields

black_and_white_mode: Option<BlackWhiteMode>

Specifies that the picture should be rendered using only black and white coloring. That is the coloring information for the picture should be converted to either black or white when rendering the picture.

No gray is to be used in rendering this image, only stark black and stark white.

Note

This does not mean that the picture itself that is stored within the file is necessarily a black and white picture. This attribute instead sets the rendering mode that the picture has applied to when rendering.

transform: Option<Box<Transform2D>>

This element represents 2-D transforms for ordinary shapes.

geometry: Option<Geometry>

Specifies the geometry of this shape

fill_properties: Option<FillProperties>

Specifies the fill properties of this shape

line_properties: Option<Box<LineProperties>>

Specifies the outline properties of this shape.

effect_properties: Option<EffectProperties>

Specifies the effect that should be applied to this shape.

Methods

impl ShapeProperties[src]

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

Trait Implementations

impl Clone for ShapeProperties[src]

impl Debug for ShapeProperties[src]

impl Default for ShapeProperties[src]

impl PartialEq<ShapeProperties> for ShapeProperties[src]

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