ImmutableExperimentalAcrylicMaterial
struct · ferroui-base · v0.5.0
struct ImmutableExperimentalAcrylicMaterial
An immutable acrylic-like material.
Members
newbackground_sourcetint_colormaterial_colortint_opacityfallback_colorequalsget_effective_tint_color
new
fn new(brush: &dyn IExperimentalAcrylicMaterial) -> Self
Creates an immutable copy of brush.
background_source
fn background_source(self: &Self) -> AcrylicBackgroundSource
The background source mode.
tint_color
fn tint_color(self: &Self) -> Color
The tint color of the material.
material_color
fn material_color(self: &Self) -> Color
The effective material color.
tint_opacity
fn tint_opacity(self: &Self) -> f64
The tint opacity of the material.
fallback_color
fn fallback_color(self: &Self) -> Color
The fallback color if acrylic is unavailable.
equals
fn equals(self: &Self, other: &ImmutableExperimentalAcrylicMaterial) -> bool
Whether the material has the same parameters as other.
get_effective_tint_color
fn get_effective_tint_color(self: &Self) -> Color
The tint color the material is drawn with.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultPartialEqHashIExperimentalAcrylicMaterialServerPropertyValue
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.