Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FUnitsToFloat64 ¶
Types ¶
type Font ¶
type Font interface { Name() string Size() float64 Family() draw2d.FontFamily Style() draw2d.FontStyle FontData() draw2d.FontData Extents() draw2dimg.FontExtents // WithSize returns this Font but with the specified size WithSize(float64) Font // WithStyle returns this Font but with the specified style WithStyle(draw2d.FontStyle) Font // WithFamily returns this F|ont but with the specified family WithFamily(draw2d.FontFamily) Font // Set the font in a GraphicContext Set(*draw2dimg.GraphicContext) StringLength(s string) float64 }
Click to show internal directories.
Click to hide internal directories.