skia_
safe
0.81.0
Line
Aliased type
Methods
set_x1
set_x2
set_y1
set_y2
x1
x2
y1
y2
Trait Implementations
DebugAttributes
Default
In skia_
safe::
svg
skia_safe
::
svg
Type Alias
Line
Copy item path
Source
pub type Line =
RCHandle
<SkSVGLine>;
Aliased Type
§
struct Line(
/* private fields */
);
Implementations
§
Source
§
impl
Line
Source
pub fn
x1
(&self) -> &
Length
Source
pub fn
set_x1
(&mut self, value:
Length
)
Source
pub fn
y1
(&self) -> &
Length
Source
pub fn
set_y1
(&mut self, value:
Length
)
Source
pub fn
x2
(&self) -> &
Length
Source
pub fn
set_x2
(&mut self, value:
Length
)
Source
pub fn
y2
(&self) -> &
Length
Source
pub fn
set_y2
(&mut self, value:
Length
)
Trait Implementations
§
Source
§
impl
DebugAttributes
for
Line
Source
§
const
NAME
: &'static
str
= "Line"
Source
§
fn
_dbg
(&self, builder: &mut
DebugStruct
<'_, '_>)
Source
§
impl
Default
for
Line
Source
§
fn
default
() -> Self
Returns the “default value” for a type.
Read more