java命名空间java.awt.font类shapegraphicattribute的类成员方法:
fill定义及介绍
本文导语:
fill
public static final boolean fill
指示应填充该形状的键。
另请参见:常量字段值
shapegraphicattribute
public shapegraphicattribute(shape shape,
int alignment,
boolean stroke)
针对指定 shape 构造 sha...
public static final boolean fill
- 指示应填充该形状的键。
- 另请参见:
- 常量字段值
shapegraphicattribute
public shapegraphicattribute(shape shape,
int alignment,
boolean stroke)
- 针对指定
shape 构造 shapegraphicattribute。
- 参数:
shape - 要呈现的 shape。呈现此 shape,其原点在宿主 textlayout 中此 shapegraphicattribute 的原点位置。此对象维护对 shape 的引用。alignment - 此 shapegraphicattribute 的对齐方式之一。stroke - 如果要勾画 shape,则为 true;如果要填充 shape,则为 false。
getascent
public float getascent()
- 返回此
shapegraphicattribute 的 ascent。shapegraphicattribute 的 ascent 是从其 shape 的原点到其 shape 边界顶端的绝对距离。
- 指定者:
- 类
graphicattribute 中的 getascent
- 返回:
- 此
shapegraphicattribute 的 ascent。 - 另请参见:
graphicattribute.getbounds()