graphics-style 0.3.0

The styles of all graphics elements
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod color;
mod gradient;
mod settable;
mod tex_image;
mod texture;
pub use self::{color::Color, gradient::Gradient, tex_image::Image, texture::*};
use graphics_error::{parse_error, GraphicsError, Result};
use image::RgbaImage;
use serde::{
    de::{MapAccess, SeqAccess, Visitor},
    Deserializer, Serializer,
};
use serde_derive::{Deserialize, Serialize};
use std::{
    fmt::{Display, Formatter, LowerHex, UpperHex, Write},
    str::FromStr,
    sync::Arc,
};