Trait ID2D1RadialGradientBrush_Impl
pub trait ID2D1RadialGradientBrush_Impl: ID2D1Brush_Impl {
// Required methods
fn SetCenter(&self, center: &D2D_POINT_2F);
fn SetGradientOriginOffset(&self, gradientoriginoffset: &D2D_POINT_2F);
fn SetRadiusX(&self, radiusx: f32);
fn SetRadiusY(&self, radiusy: f32);
fn GetCenter(&self) -> D2D_POINT_2F;
fn GetGradientOriginOffset(&self) -> D2D_POINT_2F;
fn GetRadiusX(&self) -> f32;
fn GetRadiusY(&self) -> f32;
fn GetGradientStopCollection(
&self,
gradientstopcollection: OutRef<'_, ID2D1GradientStopCollection>,
);
}
Required Methods§
fn SetCenter(&self, center: &D2D_POINT_2F)
fn SetGradientOriginOffset(&self, gradientoriginoffset: &D2D_POINT_2F)
fn SetRadiusX(&self, radiusx: f32)
fn SetRadiusY(&self, radiusy: f32)
fn GetCenter(&self) -> D2D_POINT_2F
fn GetGradientOriginOffset(&self) -> D2D_POINT_2F
fn GetRadiusX(&self) -> f32
fn GetRadiusY(&self) -> f32
fn GetGradientStopCollection( &self, gradientstopcollection: OutRef<'_, ID2D1GradientStopCollection>, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.