QuadraticBezierSegment
struct · ferroui-base · v0.5.0
struct QuadraticBezierSegment
A quadratic Bezier curve segment of a path figure.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<QuadraticBezierSegment>
Returns a strong reference to this object.
point1_property
fn point1_property() -> &'static StyledProperty<Point>
point2_property
fn point2_property() -> &'static StyledProperty<Point>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
point1
fn point1(self: &Self) -> Point
The control point of the curve.
set_point1
fn set_point1(self: &Self, value: Point)
point2
fn point2(self: &Self) -> Point
The end point of the curve.
set_point2
fn set_point2(self: &Self, value: Point)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePathSegmentImplExtFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<QuadraticBezierSegment>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplPathSegmentImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.