Trait IXpsOMGradientBrush_Impl
pub trait IXpsOMGradientBrush_Impl: IXpsOMBrush_Impl {
// Required methods
fn GetGradientStops(&self) -> Result<IXpsOMGradientStopCollection>;
fn GetTransform(&self) -> Result<IXpsOMMatrixTransform>;
fn GetTransformLocal(&self) -> Result<IXpsOMMatrixTransform>;
fn SetTransformLocal(
&self,
transform: Ref<'_, IXpsOMMatrixTransform>,
) -> Result<()>;
fn GetTransformLookup(&self) -> Result<PWSTR>;
fn SetTransformLookup(&self, key: &PCWSTR) -> Result<()>;
fn GetSpreadMethod(&self) -> Result<XPS_SPREAD_METHOD>;
fn SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> Result<()>;
fn GetColorInterpolationMode(&self) -> Result<XPS_COLOR_INTERPOLATION>;
fn SetColorInterpolationMode(
&self,
colorinterpolationmode: XPS_COLOR_INTERPOLATION,
) -> Result<()>;
}
Required Methods§
fn GetGradientStops(&self) -> Result<IXpsOMGradientStopCollection>
fn GetTransform(&self) -> Result<IXpsOMMatrixTransform>
fn GetTransformLocal(&self) -> Result<IXpsOMMatrixTransform>
fn SetTransformLocal( &self, transform: Ref<'_, IXpsOMMatrixTransform>, ) -> Result<()>
fn GetTransformLookup(&self) -> Result<PWSTR>
fn SetTransformLookup(&self, key: &PCWSTR) -> Result<()>
fn GetSpreadMethod(&self) -> Result<XPS_SPREAD_METHOD>
fn SetSpreadMethod(&self, spreadmethod: XPS_SPREAD_METHOD) -> Result<()>
fn GetColorInterpolationMode(&self) -> Result<XPS_COLOR_INTERPOLATION>
fn SetColorInterpolationMode( &self, colorinterpolationmode: XPS_COLOR_INTERPOLATION, ) -> Result<()>
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.