LineGeometry
struct · ferroui-base · v0.5.0
struct LineGeometry
Represents the geometry of a line.
Members
TYPEto_refstart_point_propertyend_point_propertyconstructnewwith_pointsstart_pointset_start_pointend_pointset_end_point
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<LineGeometry>
Returns a strong reference to this object.
start_point_property
fn start_point_property() -> &'static StyledProperty<Point>
end_point_property
fn end_point_property() -> &'static StyledProperty<Point>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
with_points
fn with_points(start_point: Point, end_point: Point) -> Ref<Self>
Creates a line geometry between the given points.
start_point
fn start_point(self: &Self) -> Point
The start point of the line.
set_start_point
fn set_start_point(self: &Self, value: Point)
end_point
fn end_point(self: &Self) -> Point
The end point of the line.
set_end_point
fn set_end_point(self: &Self, value: Point)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeGeometryImplExtFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<LineGeometry>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplGeometryImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.