Add border_width and border_color to Quad
This commit is contained in:
parent
649d72e7de
commit
9ab7c47dc7
17 changed files with 180 additions and 128 deletions
|
|
@ -25,6 +25,14 @@ impl Color {
|
|||
a: 1.0,
|
||||
};
|
||||
|
||||
/// A color with no opacity.
|
||||
pub const TRANSPARENT: Color = Color {
|
||||
r: 0.0,
|
||||
g: 0.0,
|
||||
b: 0.0,
|
||||
a: 0.0,
|
||||
};
|
||||
|
||||
/// Creates a [`Color`] from its RGB8 components.
|
||||
///
|
||||
/// [`Color`]: struct.Color.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue