Type Alias read_fonts::tables::colr::PaintVarRadialGradient
source · pub type PaintVarRadialGradient<'a> = TableRef<'a, PaintVarRadialGradientMarker>;
Expand description
PaintVarRadialGradient table
Aliased Type§
struct PaintVarRadialGradient<'a> { /* private fields */ }
Implementations§
source§impl<'a> PaintVarRadialGradient<'a>
impl<'a> PaintVarRadialGradient<'a>
sourcepub fn color_line_offset(&self) -> Offset24
pub fn color_line_offset(&self) -> Offset24
Offset to VarColorLine table.
sourcepub fn color_line(&self) -> Result<VarColorLine<'a>, ReadError>
pub fn color_line(&self) -> Result<VarColorLine<'a>, ReadError>
Attempt to resolve color_line_offset
.
sourcepub fn x0(&self) -> FWord
pub fn x0(&self) -> FWord
Start circle center x coordinate. For variation, use varIndexBase + 0.
sourcepub fn y0(&self) -> FWord
pub fn y0(&self) -> FWord
Start circle center y coordinate. For variation, use varIndexBase + 1.
sourcepub fn var_index_base(&self) -> u32
pub fn var_index_base(&self) -> u32
Base index into DeltaSetIndexMap.