Type Alias read_fonts::tables::colr::PaintLinearGradient
source · pub type PaintLinearGradient<'a> = TableRef<'a, PaintLinearGradientMarker>;
Expand description
PaintLinearGradient table
Aliased Type§
struct PaintLinearGradient<'a> { /* private fields */ }
Implementations§
source§impl<'a> PaintLinearGradient<'a>
impl<'a> PaintLinearGradient<'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
.