pub struct LineAnnotation {
pub endpoints: [f64; 4],
pub line_ending: Option<[String; 2]>,
pub interior_color: Option<AnnotationColor>,
pub leader_length: Option<f64>,
pub leader_extension: Option<f64>,
pub leader_offset: Option<f64>,
pub cap: Option<bool>,
pub cap_position: Option<String>,
pub intent: Option<String>,
}Expand description
/Subtype /Line.
Fields§
§endpoints: [f64; 4]/L — [x1 y1 x2 y2].
line_ending: Option<[String; 2]>/LE — line endings: [start_style end_style].
interior_color: Option<AnnotationColor>/IC — interior color (for filled endings).
leader_length: Option<f64>/LL — leader line length.
leader_extension: Option<f64>/LLE — leader line extension.
leader_offset: Option<f64>/LLO — leader line offset.
cap: Option<bool>/Cap — show caption.
cap_position: Option<String>/CP — caption position (/Inline or /Top).
intent: Option<String>/IT — intent (/LineArrow, /LineDimension).
Trait Implementations§
Source§impl Clone for LineAnnotation
impl Clone for LineAnnotation
Source§fn clone(&self) -> LineAnnotation
fn clone(&self) -> LineAnnotation
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 LineAnnotation
impl Debug for LineAnnotation
Source§impl Default for LineAnnotation
impl Default for LineAnnotation
Source§fn default() -> LineAnnotation
fn default() -> LineAnnotation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LineAnnotation
impl RefUnwindSafe for LineAnnotation
impl Send for LineAnnotation
impl Sync for LineAnnotation
impl Unpin for LineAnnotation
impl UnsafeUnpin for LineAnnotation
impl UnwindSafe for LineAnnotation
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