Struct dxf::entities::Attribute
[−]
[src]
pub struct Attribute { pub thickness: f64, pub location: Point, pub text_height: f64, pub value: String, pub version: Version, pub attribute_tag: String, pub flags: i32, pub field_length: i16, pub rotation: f64, pub relative_x_scale_factor: f64, pub oblique_angle: f64, pub text_style_name: String, pub text_generation_flags: i32, pub horizontal_text_justification: HorizontalTextJustification, pub vertical_text_justification: VerticalTextJustification, pub second_alignment_point: Point, pub normal: Vector, pub is_locked_in_block: bool, pub keep_duplicate_records: bool, pub m_text_flag: MTextFlag, pub is_really_locked: bool, pub secondary_attributes: Vec<u32>, pub alignment_point: Point, pub annotation_scale: f64, pub x_record_tag: String, pub m_text: u32, // some fields omitted }
Fields
thickness: f64
location: Point
text_height: f64
value: String
version: Version
attribute_tag: String
flags: i32
field_length: i16
rotation: f64
relative_x_scale_factor: f64
oblique_angle: f64
text_style_name: String
text_generation_flags: i32
horizontal_text_justification: HorizontalTextJustification
vertical_text_justification: VerticalTextJustification
second_alignment_point: Point
normal: Vector
is_locked_in_block: bool
keep_duplicate_records: bool
m_text_flag: MTextFlag
is_really_locked: bool
secondary_attributes: Vec<u32>
alignment_point: Point
annotation_scale: f64
x_record_tag: String
m_text: u32
Methods
impl Attribute
[src]
fn get_is_invisible(&self) -> bool
fn set_is_invisible(&mut self, val: bool)
fn get_is_constant(&self) -> bool
fn set_is_constant(&mut self, val: bool)
fn get_is_input_verification_required(&self) -> bool
fn set_is_input_verification_required(&mut self, val: bool)
fn get_is_attribute_present(&self) -> bool
fn set_is_attribute_present(&mut self, val: bool)
fn get_is_text_backwards(&self) -> bool
fn set_is_text_backwards(&mut self, val: bool)
fn get_is_text_upside_down(&self) -> bool
fn set_is_text_upside_down(&mut self, val: bool)
Trait Implementations
impl Clone for Attribute
[src]
fn clone(&self) -> Attribute
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Attribute
[src]
impl PartialEq for Attribute
[src]
fn eq(&self, __arg_0: &Attribute) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Attribute) -> bool
This method tests for !=
.