Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

constants group FontWeight
Description
These values are used to specify whether a font is thin or bold.

They may be expanded in future versions.


Constants
DONTKNOW The font weight is not specified/known.  
THIN specifies a 50% font weight.  
ULTRALIGHT specifies a 60% font weight.  
LIGHT specifies a 75% font weight.  
SEMILIGHT specifies a 90% font weight.  
NORMAL specifies a normal font weight.  
SEMIBOLD specifies a 110% font weight.  
BOLD specifies a 150% font weight.  
ULTRABOLD specifies a 175% font weight.  
BLACK specifies a 200% font weight.  
Constants' Details
DONTKNOW
const float DONTKNOW = 0.000000;
Description
The font weight is not specified/known.
THIN
const float THIN = 50.000000;
Description
specifies a 50% font weight.
ULTRALIGHT
const float ULTRALIGHT = 60.000000;
Description
specifies a 60% font weight.
LIGHT
const float LIGHT = 75.000000;
Description
specifies a 75% font weight.
SEMILIGHT
const float SEMILIGHT = 90.000000;
Description
specifies a 90% font weight.
NORMAL
const float NORMAL = 100.000000;
Description
specifies a normal font weight.
SEMIBOLD
const float SEMIBOLD = 110.000000;
Description
specifies a 110% font weight.
BOLD
const float BOLD = 150.000000;
Description
specifies a 150% font weight.
ULTRABOLD
const float ULTRABOLD = 175.000000;
Description
specifies a 175% font weight.
BLACK
const float BLACK = 200.000000;
Description
specifies a 200% font weight.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.