Class FontOptions

java.lang.Object
io.github.jwharm.cairobindings.Proxy
org.freedesktop.cairo.FontOptions

public class FontOptions extends Proxy
How a font should be rendered.

The font options specify how fonts should be rendered. Most of the time the font options implied by a surface are just right and do not need any changes, but for pixel-based targets tweaking font options may result in superior output on a particular display.

Individual features of a cairo_font_options_t can be set or accessed using functions named FontOptions.setFeatureName() and FontOptions.getFeatureName(), like setAntialias(Antialias) and getAntialias().

New features may be added to FontOptions in the future. For this reason, copy(), equals(Object), merge(FontOptions) and hashCode() should be used to copy, check for equality, merge, or compute a hash value of FontOptions objects.

Since:
1.0
See Also: