Struct graphics::line::Line [−][src]
Expand description
A colored line with a default border radius
Fields
color: ColorThe line color
radius: RadiusThe line radius
shape: ShapeThe line shape
Implementations
Draws line using default method between points.
Draws line using default method.
Draws line using triangulation.
Trait Implementations
fn mul_rgba(
self,
r: ColorComponent,
g: ColorComponent,
b: ColorComponent,
a: ColorComponent
) -> Self
fn mul_rgba(
self,
r: ColorComponent,
g: ColorComponent,
b: ColorComponent,
a: ColorComponent
) -> Self
Multiplies with red, green, blue and alpha values.
Rotates hue by radians.
Mixes the current color with white. Read more
Mixes the current color with black. Read more
Rotates hue by degrees.
Auto Trait Implementations
impl RefUnwindSafe for Line
impl UnwindSafe for Line
Blanket Implementations
Mutably borrows from an owned value. Read more