IExperimentalAcrylicMaterial
trait · ferroui-base · v0.5.0
trait IExperimentalAcrylicMaterial: 'static
Experimental interface for producing acrylic-like materials.
Implemented by ImmutableExperimentalAcrylicMaterial
and, through an adapter, by handles of ExperimentalAcrylicMaterial.
Members
background_sourcetint_colortint_opacitymaterial_colorfallback_coloras_anyas_objectas_mutable_material
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.
tint_opacity
fn tint_opacity(self: &Self) -> f64
The tint opacity of the material.
material_color
fn material_color(self: &Self) -> Color
The effective material color.
fallback_color
fn fallback_color(self: &Self) -> Color
The fallback color if acrylic is unavailable.
as_any
fn as_any(self: &Self) -> &dyn Any
The implementing value, for downcasts to the immutable material.
as_object
fn as_object(self: &Self) -> Option<&FerroObject>
The object behind the material when it is mutable.
as_mutable_material
fn as_mutable_material(self: &Self) -> Option<&dyn IMutableExperimentalAcrylicMaterial>
The material viewed as IMutableExperimentalAcrylicMaterial, when
it is one.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.