ConicGradientBrush
struct · ferroui-base · v0.5.0
struct ConicGradientBrush
Paints an area with a swept circular gradient.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ConicGradientBrush>
Returns a strong reference to this object.
center_property
fn center_property() -> &'static StyledProperty<RelativePoint>
angle_property
fn angle_property() -> &'static StyledProperty<f64>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
center
fn center(self: &Self) -> RelativePoint
The center point of the gradient.
set_center
fn set_center(self: &Self, value: RelativePoint)
angle
fn angle(self: &Self) -> f64
The angle of the start and end of the sweep, measured from above the center point.
set_angle
fn set_angle(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBrushImplExtGradientBrushImplExtFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<ConicGradientBrush>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplBrushImplGradientBrushImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.