API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceSolidTexel

@codexo/exojs / rendering / stable

A fully opaque point in a glyph source's texture, addressed as a single texel rather than a rectangle. Text decorations are plain filled quads and need somewhere in the atlas that reads as solid ink at every sample. A degenerate UV is what makes that hold under linear filtering: every sample of the quad reads the same texel, so no neighbouring glyph can bleed into a rule's edge.

3
props
0
methods
0
events
Import
import { SolidTexel } from '@codexo/exojs'

A fully opaque point in a glyph source's texture, addressed as a single texel rather than a rectangle.

Text decorations are plain filled quads and need somewhere in the atlas that reads as solid ink at every sample. A degenerate UV is what makes that hold under linear filtering: every sample of the quad reads the same texel, so no neighbouring glyph can bleed into a rule's edge.

Properties3
page: number
Which AtlasPage within the source holds the texel.
u: number
v: number
Source