MCPcopy Create free account
hub / github.com/tdewolff/canvas / SetFeatures

Method SetFeatures

font.go:329–331  ·  view source on GitHub ↗

SetFeatures sets the font features (not yet supported).

(features string)

Source from the content-addressed store, hash-verified

327
328// SetFeatures sets the font features (not yet supported).
329func (f *Font) SetFeatures(features string) {
330 f.features = features
331}
332
333// Face gets the font face given by the font size in points and its style. Fill can be any of Paint, color.Color, or canvas.Pattern.
334func (f *Font) Face(size float64, ifill any, deco ...FontDecorator) *FontFace {

Callers 1

SetFeaturesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected