pub struct VectorPath {Show 14 fields
pub object_path: Vec<usize>,
pub bounds: Rect,
pub visual_bounds: Rect,
pub evidence_bounds: Option<Rect>,
pub clip_bounds: Option<Rect>,
pub matrix: [f64; 6],
pub segments: Vec<PathSegment>,
pub fill_rule: String,
pub fill_rgba: [u8; 4],
pub stroke: bool,
pub stroke_rgba: [u8; 4],
pub stroke_width_local: f64,
pub fill_visible: bool,
pub stroke_visible: bool,
}Expand description
原始矢量路径事实;clip_bounds 是保守矩形,不冒充任意形状的精确裁剪。
Fields§
§object_path: Vec<usize>§bounds: Rect§visual_bounds: Rect§evidence_bounds: Option<Rect>§clip_bounds: Option<Rect>§matrix: [f64; 6]§segments: Vec<PathSegment>§fill_rule: String§fill_rgba: [u8; 4]§stroke: bool§stroke_rgba: [u8; 4]§stroke_width_local: f64§fill_visible: bool§stroke_visible: boolTrait Implementations§
Source§impl Clone for VectorPath
impl Clone for VectorPath
Source§impl Debug for VectorPath
impl Debug for VectorPath
Source§impl<'de> Deserialize<'de> for VectorPath
impl<'de> Deserialize<'de> for VectorPath
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 Forget for VectorPath
impl Freeze for VectorPath
impl RefUnwindSafe for VectorPath
impl Send for VectorPath
impl Sync for VectorPath
impl Unpin for VectorPath
impl UnsafeUnpin for VectorPath
impl UnwindSafe for VectorPath
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