public final class CSS20Attribute extends Object
AttributedRun. Objects
of this class are used as the value entries of the ElementAttribute.CSS20Attribute tag.
| Modifier and Type | Class and Description |
|---|---|
static class |
CSS20Attribute.CSSStretchValue
This class provides an enumeration of the possible values for the CSS Stretch attribute.
|
static class |
CSS20Attribute.CSSStyleValue
This class provides an enumeration of the possible values for the CSS Style attribute.
|
static class |
CSS20Attribute.CSSVariantValue
This class provides an enumeration of the possible values for the CSS Variant attribute.
|
static class |
CSS20Attribute.CSSWeightValue
This class provides an enumeration of the possible values for the CSS Weight attribute.
|
| Constructor and Description |
|---|
CSS20Attribute(CSS20Attribute properties)
Copy constructor.
|
CSS20Attribute(String[] familyNames,
CSS20Attribute.CSSStyleValue style,
CSS20Attribute.CSSVariantValue variant,
CSS20Attribute.CSSStretchValue stretch,
CSS20Attribute.CSSWeightValue weight,
double pointSize)
Constructor.
|
CSS20Attribute(String[] familyNames,
CSS20Attribute.CSSStyleValue style,
CSS20Attribute.CSSVariantValue variant,
CSS20Attribute.CSSStretchValue stretch,
CSS20Attribute.CSSWeightValue weight,
double pointSize,
double opticalSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getFamilyNames() |
List |
getFamilyNamesList() |
double |
getOpticalSize() |
double |
getPointSize() |
CSS20Attribute.CSSStretchValue |
getStretch() |
CSS20Attribute.CSSStyleValue |
getStyle() |
CSS20Attribute.CSSVariantValue |
getVariant() |
int |
getWeight() |
String |
toString() |
public CSS20Attribute(String[] familyNames, CSS20Attribute.CSSStyleValue style, CSS20Attribute.CSSVariantValue variant, CSS20Attribute.CSSStretchValue stretch, CSS20Attribute.CSSWeightValue weight, double pointSize, double opticalSize)
String objects have had the
java.lang.String.intern() method called on them. This will greatly improve
the performance of the formatting operations.familyNames - array of the font family names - this must not be nullstyle - the font stylevariant - the font variantweight - the font weightstretch - the font stretchpointSize - the point size (this must be equal to or greater than zero)opticalSize - the optical size used for selecting optical font variantspublic CSS20Attribute(String[] familyNames, CSS20Attribute.CSSStyleValue style, CSS20Attribute.CSSVariantValue variant, CSS20Attribute.CSSStretchValue stretch, CSS20Attribute.CSSWeightValue weight, double pointSize)
String objects have had the
java.lang.String.intern() method called on them. This will greatly improve
the performance of the formatting operations.familyNames - array of the font family names - this must not be nullstyle - the font stylevariant - the font variantweight - the font weightstretch - the font stretchpointSize - the point size (this must be equal to or greater than zero)public CSS20Attribute(CSS20Attribute properties)
properties - public List getFamilyNamesList()
public String[] getFamilyNames()
public CSS20Attribute.CSSStyleValue getStyle()
public int getWeight()
public CSS20Attribute.CSSVariantValue getVariant()
public CSS20Attribute.CSSStretchValue getStretch()
public double getPointSize()
public double getOpticalSize()
Copyright © 2010 - 2020 Adobe. All Rights Reserved