pub struct Line {Show 24 fields
pub fill_color: Option<i32>,
pub fill_rule: Option<ShapeFillRuleType>,
pub stroke_color: Option<i32>,
pub stroke_width: Option<f32>,
pub stroke_width_unit: UnitsLength,
pub stroke_dash_array: Option<String>,
pub text: Option<String>,
pub font_family: Option<FontFamilyType>,
pub font_size: Option<i32>,
pub font_size_unit: UnitsLength,
pub font_style: Option<ShapeFontStyleType>,
pub locked: Option<bool>,
pub id: String,
pub the_z: Option<i32>,
pub the_t: Option<i32>,
pub the_c: Option<i32>,
pub x1: f32,
pub y1: f32,
pub x2: f32,
pub y2: f32,
pub marker_start: Option<MarkerType>,
pub marker_end: Option<MarkerType>,
pub transform: Option<AffineTransform>,
pub annotation_ref: Vec<AnnotationRef>,
}Fields§
§fill_color: Option<i32>§fill_rule: Option<ShapeFillRuleType>§stroke_color: Option<i32>§stroke_width: Option<f32>§stroke_width_unit: UnitsLength§stroke_dash_array: Option<String>§text: Option<String>§font_family: Option<FontFamilyType>§font_size: Option<i32>§font_size_unit: UnitsLength§font_style: Option<ShapeFontStyleType>§locked: Option<bool>§id: String§the_z: Option<i32>§the_t: Option<i32>§the_c: Option<i32>§x1: f32§y1: f32§x2: f32§y2: f32§marker_start: Option<MarkerType>§marker_end: Option<MarkerType>§transform: Option<AffineTransform>§annotation_ref: Vec<AnnotationRef>Implementations§
Source§impl Line
impl Line
pub fn default_stroke_width_unit() -> UnitsLength
pub fn default_font_size_unit() -> UnitsLength
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Line
impl<'de> Deserialize<'de> for Line
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Line
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnwindSafe for Line
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