InsetClip
struct · ferroui-base · v0.5.0
struct InsetClip
A clip that leaves visible the rectangle (left_inset, top_inset, width - right_inset, height - bottom_inset) of the visual it is set on
(WinUI Microsoft.UI.Composition.InsetClip). The insets are animatable
(LeftInset, TopInset, RightInset, BottomInset).
Members
from_clipleft_insetset_left_insettop_insetset_top_insetright_insetset_right_insetbottom_insetset_bottom_inset
from_clip
fn from_clip(clip: &Rc<CompositionClip>) -> Option<InsetClip>
The handle of clip as an inset clip, if it is one.
left_inset
fn left_inset(self: &Self) -> f32
set_left_inset
fn set_left_inset(self: &Self, value: f32)
top_inset
fn top_inset(self: &Self) -> f32
set_top_inset
fn set_top_inset(self: &Self, value: f32)
right_inset
fn right_inset(self: &Self) -> f32
set_right_inset
fn set_right_inset(self: &Self, value: f32)
bottom_inset
fn bottom_inset(self: &Self) -> f32
set_bottom_inset
fn set_bottom_inset(self: &Self, value: f32)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDeref
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.