[−][src]Struct oox::shared::drawingml::shapeprops::PathShadeProperties
Fields
path: Option<PathShadeType>
Specifies the shape of the path to follow.
fill_to_rect: Option<RelativeRect>
This element defines the "focus" rectangle for the center shade, specified relative to the fill tile rectangle. The center shade fills the entire tile except the margins specified by each attribute.
Each edge of the center shade rectangle is defined by a percentage offset from the corresponding edge of the tile rectangle. 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 center shade rectangle is located to the right of the tile rectangle's left edge by an amount equal to 25% of the tile rectangle's width.
Xml example
<a:path path="rect">
<a:fillToRect l="50000" r="50000" t="50000" b="50000"/>
</a:path>
In the above shape, the rectangle defined by fillToRect is a single point in the center of the shape. This creates the effect of the center shade focusing at a point in the center of the region.
Methods
impl PathShadeProperties
[src]
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>
[src]
Trait Implementations
impl Clone for PathShadeProperties
[src]
fn clone(&self) -> PathShadeProperties
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PathShadeProperties
[src]
impl Default for PathShadeProperties
[src]
fn default() -> PathShadeProperties
[src]
impl PartialEq<PathShadeProperties> for PathShadeProperties
[src]
fn eq(&self, other: &PathShadeProperties) -> bool
[src]
fn ne(&self, other: &PathShadeProperties) -> bool
[src]
impl StructuralPartialEq for PathShadeProperties
[src]
Auto Trait Implementations
impl RefUnwindSafe for PathShadeProperties
impl Send for PathShadeProperties
impl Sync for PathShadeProperties
impl Unpin for PathShadeProperties
impl UnwindSafe for PathShadeProperties
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>,