StreamGeometry
struct · ferroui-base · v0.5.0
struct StreamGeometry
Represents the geometry of an arbitrarily complex shape.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<StreamGeometry>
Returns a strong reference to this object.
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
parse
fn parse(s: &str) -> Result<Ref<StreamGeometry>, FormatError>
Creates a stream geometry from a string of path data.
from_commands
fn from_commands(commands: &[PathCommand]) -> Ref<StreamGeometry>
Creates a stream geometry from path data the compiler of the markup parsed
(PathCommand::record): the geometry parse makes of the same text,
without parsing it when the document is loaded (#603).
open
fn open(self: &Self) -> StreamGeometryContext
Opens the geometry to start defining it.
Returns a StreamGeometryContext which can be used to define the
geometry.
The new figures are added to the existing ones. The geometry is updated when the context is disposed.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeGeometryImplExtStreamGeometryImplExtFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<StreamGeometry>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplGeometryImplStreamGeometryImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.