pub struct PolygonAnnotation {
pub vertices: Vec<f64>,
pub line_ending: Option<[String; 2]>,
pub interior_color: Option<AnnotationColor>,
pub intent: Option<String>,
}Expand description
/Subtype /Polygon or /PolyLine.
Fields§
§vertices: Vec<f64>/Vertices — flat list of alternating x, y coordinates.
line_ending: Option<[String; 2]>/LE — line endings (PolyLine only).
interior_color: Option<AnnotationColor>/IC — interior fill (Polygon only).
intent: Option<String>/IT — intent (/PolygonCloud, /PolyLineDimension, etc.).
Trait Implementations§
Source§impl Clone for PolygonAnnotation
impl Clone for PolygonAnnotation
Source§fn clone(&self) -> PolygonAnnotation
fn clone(&self) -> PolygonAnnotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PolygonAnnotation
impl Debug for PolygonAnnotation
Source§impl Default for PolygonAnnotation
impl Default for PolygonAnnotation
Source§fn default() -> PolygonAnnotation
fn default() -> PolygonAnnotation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PolygonAnnotation
impl RefUnwindSafe for PolygonAnnotation
impl Send for PolygonAnnotation
impl Sync for PolygonAnnotation
impl Unpin for PolygonAnnotation
impl UnsafeUnpin for PolygonAnnotation
impl UnwindSafe for PolygonAnnotation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more