Type Alias read_fonts::tables::colr::PaintSweepGradient
source · pub type PaintSweepGradient<'a> = TableRef<'a, PaintSweepGradientMarker>;
Expand description
PaintSweepGradient table
Aliased Type§
struct PaintSweepGradient<'a> { /* private fields */ }
Implementations§
source§impl<'a> PaintSweepGradient<'a>
impl<'a> PaintSweepGradient<'a>
sourcepub fn color_line_offset(&self) -> Offset24
pub fn color_line_offset(&self) -> Offset24
Offset to ColorLine table.
sourcepub fn color_line(&self) -> Result<ColorLine<'a>, ReadError>
pub fn color_line(&self) -> Result<ColorLine<'a>, ReadError>
Attempt to resolve color_line_offset
.
sourcepub fn start_angle(&self) -> F2Dot14
pub fn start_angle(&self) -> F2Dot14
Start of the angular range of the gradient, 180° in counter-clockwise degrees per 1.0 of value.