Class Index | File Index

Classes


Class Font


Defined in: graphics2d.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Font(cssFontDecriptor)
A font utility class.
Method Summary
Method Attributes Method Name and Description
 
Returns the font as a browser-normalized CSS string.
Class Detail
Font(cssFontDecriptor)
A font utility class. Creates a new font from a CSS font descriptor.
Author: Renaud Pawlak.
Parameters:
cssFontDecriptor
{string|Object} the font descriptor as a CSS string or an object {style, size, family, weight}
Method Detail
{string} toString()
Returns the font as a browser-normalized CSS string.
Returns:
{string}

© Copyright 2021 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License
Documentation generated by JsDoc Toolkit 2.4.0 on Tue Mar 02 2021 19:55:52 GMT+0100 (CET)