pub struct EllipseRegion(/* private fields */);
Available on crate feature
v1_18
only.Implementations§
Source§impl EllipseRegion
impl EllipseRegion
Sourcepub fn ellipse(&self) -> Ellipse
pub fn ellipse(&self) -> Ellipse
Get the values for an ellipse region.
This returns the values in the reference coordinate space (from the parent region item). The ellipse is represented by a center position, and a size defined by radii in the X and Y directions. All the interior points and the edge are part of the region.
Sourcepub fn ellipse_transformed(&self, image_id: ItemId) -> EllipseTransformed
pub fn ellipse_transformed(&self, image_id: ItemId) -> EllipseTransformed
Get the transformed values for an ellipse region.
This returns the coordinates in pixels after all transformative properties have been applied. The ellipse is represented by a center position, and a size defined by radii in the X and Y directions. All the interior points and the edge are part of the region.
Auto Trait Implementations§
impl Freeze for EllipseRegion
impl RefUnwindSafe for EllipseRegion
impl !Send for EllipseRegion
impl !Sync for EllipseRegion
impl Unpin for EllipseRegion
impl UnwindSafe for EllipseRegion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more