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