TextAttribute.Width Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute key for the width of a font.
[Android.Runtime.Register("WIDTH")]
public static Java.Awt.Font.TextAttribute? Width { get; }
[<Android.Runtime.Register("WIDTH")>]
static member Width : Java.Awt.Font.TextAttribute
Property Value
- Attributes
Remarks
Attribute key for the width of a font. Values are instances of <b>Number
</b>. The default value is WIDTH_REGULAR
.
Several constant values are provided, see #WIDTH_CONDENSED
, #WIDTH_SEMI_CONDENSED
, #WIDTH_REGULAR
, #WIDTH_SEMI_EXTENDED
, #WIDTH_EXTENDED
.
The value is roughly the ratio of the advance width to that of the regular width.
The system can interpolate the provided value.
Java documentation for java.awt.font.TextAttribute.WIDTH
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.