PolyBezierSegment
struct · ferroui-base · v0.5.0
struct PolyBezierSegment
Represents one or more cubic Bezier curves: every three points define the two control points and the end point of one curve.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PolyBezierSegment>
Returns a strong reference to this object.
points_property
fn points_property() -> &'static DirectProperty<PolyBezierSegment, Option<Points>>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
Creates a segment with an empty points collection.
with_points
fn with_points(points: impl IntoIterator<Item = Point>, is_stroked: bool) -> Ref<Self>
Creates a segment with a copy of the given points.
points
fn points(self: &Self) -> Option<Points>
The points that define the curves.
set_points
fn set_points(self: &Self, value: Option<Points>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePathSegmentImplExtFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<PolyBezierSegment>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplPathSegmentImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.