[][src]Enum oox::shared::drawingml::shapeprops::FillProperties

pub enum FillProperties {
    NoFill,
    SolidFill(Color),
    GradientFill(Box<GradientFillProperties>),
    BlipFill(Box<BlipFillProperties>),
    PatternFill(Box<PatternFillProperties>),
    GroupFill,
}

Variants

NoFill

This element specifies that no fill is applied to the parent element.

SolidFill(Color)

This element specifies a solid color fill. The shape is filled entirely with the specified color.

This element specifies a gradient color fill.

This element specifies the type of picture fill that the picture object has. Because a picture has a picture fill already by default, it is possible to have two fills specified for a picture object. An example of this is shown below.

Xml example

<p:pic>
  ...
  <p:blipFill>
    <a:blip r:embed="rId2"/>
    <a:stretch>
      <a:fillRect/>
    </a:stretch>
  </p:blipFill>
  ...
</p:pic>

This element specifies a pattern fill. A repeated pattern is used to fill the object.

GroupFill

This element specifies a group fill. When specified, this setting indicates that the parent element is part of a group and should inherit the fill properties of the group.

Trait Implementations

impl Clone for FillProperties[src]

impl Debug for FillProperties[src]

impl PartialEq<FillProperties> for FillProperties[src]

impl StructuralPartialEq for FillProperties[src]

impl XsdChoice for FillProperties[src]

impl XsdType for FillProperties[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.