pub struct CT_OuterShadowEffect {
pub blur_radius: Option<i64>,
pub distance: Option<i64>,
pub direction: Option<Angle>,
pub scale_x: Option<Percent1000>,
pub scale_y: Option<Percent1000>,
pub skew_x: Option<Angle>,
pub skew_y: Option<Angle>,
pub alignment: Option<RectAlignment>,
pub rotate_with_shape: Option<bool>,
pub color: Option<ColorChoice>,
/* private fields */
}Expand description
Modelled properties of one DrawingML a:outerShdw effect.
Fields§
§blur_radius: Option<i64>§distance: Option<i64>§direction: Option<Angle>§scale_x: Option<Percent1000>§scale_y: Option<Percent1000>§skew_x: Option<Angle>§skew_y: Option<Angle>§alignment: Option<RectAlignment>§rotate_with_shape: Option<bool>§color: Option<ColorChoice>Implementations§
Source§impl CT_OuterShadowEffect
impl CT_OuterShadowEffect
pub fn raw_children(&self) -> &OrderedRawChildren
Sourcepub fn has_unmodelled_color(&self) -> bool
pub fn has_unmodelled_color(&self) -> bool
Reports a colour choice that is kept as raw XML, such as an
a:scrgbClr or a:hslClr, which color does not model.
Sourcepub fn replace_color(&mut self, color: ColorChoice)
pub fn replace_color(&mut self, color: ColorChoice)
Replaces the shadow colour, dropping an unmodelled colour choice so that the element keeps the single colour its schema allows. The new colour takes the dropped one’s place among the unmodelled siblings.
Trait Implementations§
Source§impl Clone for CT_OuterShadowEffect
impl Clone for CT_OuterShadowEffect
Source§impl Debug for CT_OuterShadowEffect
impl Debug for CT_OuterShadowEffect
Source§impl Default for CT_OuterShadowEffect
impl Default for CT_OuterShadowEffect
impl Eq for CT_OuterShadowEffect
Source§impl PartialEq for CT_OuterShadowEffect
impl PartialEq for CT_OuterShadowEffect
impl StructuralPartialEq for CT_OuterShadowEffect
Auto Trait Implementations§
impl Freeze for CT_OuterShadowEffect
impl RefUnwindSafe for CT_OuterShadowEffect
impl Send for CT_OuterShadowEffect
impl Sync for CT_OuterShadowEffect
impl Unpin for CT_OuterShadowEffect
impl UnsafeUnpin for CT_OuterShadowEffect
impl UnwindSafe for CT_OuterShadowEffect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more