[−][src]Struct oox::shared::drawingml::shapeprops::BlipFillProperties
Fields
dpi: Option<u32>
Specifies the DPI (dots per inch) used to calculate the size of the blip. If not present or zero, the DPI in the blip is used.
Note
This attribute is primarily used to keep track of the picture quality within a document. There are different levels of quality needed for print than on-screen viewing and thus a need to track this information.
rotate_with_shape: Option<bool>
Specifies that the fill should rotate with the shape. That is, when the shape that has been filled with a picture and the containing shape (say a rectangle) is transformed with a rotation then the fill is transformed with the same rotation.
blip: Option<Box<Blip>>
This element specifies the existence of an image (binary large image or picture) and contains a reference to the image data.
source_rect: Option<RelativeRect>
This element specifies the portion of the blip used for the fill.
Each edge of the source rectangle is defined by a percentage offset from the corresponding edge of the bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset.
Note
For example, a left offset of 25% specifies that the left edge of the source rectangle is located to the right of the bounding box's left edge by an amount equal to 25% of the bounding box's width.
fill_mode_properties: Option<FillModeProperties>
Specifies the fill mode of this blip.
Methods
impl BlipFillProperties
[src]
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>
[src]
Trait Implementations
impl Clone for BlipFillProperties
[src]
fn clone(&self) -> BlipFillProperties
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BlipFillProperties
[src]
impl Default for BlipFillProperties
[src]
fn default() -> BlipFillProperties
[src]
impl PartialEq<BlipFillProperties> for BlipFillProperties
[src]
fn eq(&self, other: &BlipFillProperties) -> bool
[src]
fn ne(&self, other: &BlipFillProperties) -> bool
[src]
impl StructuralPartialEq for BlipFillProperties
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlipFillProperties
impl Send for BlipFillProperties
impl Sync for BlipFillProperties
impl Unpin for BlipFillProperties
impl UnwindSafe for BlipFillProperties
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>,