windows::Win32::Graphics::Direct2D

Trait ID2D1LinearGradientBrush_Impl

pub trait ID2D1LinearGradientBrush_Impl: ID2D1Brush_Impl {
    // Required methods
    fn SetStartPoint(&self, startpoint: &D2D_POINT_2F);
    fn SetEndPoint(&self, endpoint: &D2D_POINT_2F);
    fn GetStartPoint(&self) -> D2D_POINT_2F;
    fn GetEndPoint(&self) -> D2D_POINT_2F;
    fn GetGradientStopCollection(
        &self,
        gradientstopcollection: OutRef<'_, ID2D1GradientStopCollection>,
    );
}

Required Methods§

fn SetStartPoint(&self, startpoint: &D2D_POINT_2F)

fn SetEndPoint(&self, endpoint: &D2D_POINT_2F)

fn GetStartPoint(&self) -> D2D_POINT_2F

fn GetEndPoint(&self) -> D2D_POINT_2F

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.

Implementors§