Package com.twelvemonkeys.imageio.path
Class AdobePathSegment
- java.lang.Object
-
- com.twelvemonkeys.imageio.path.AdobePathSegment
-
final class AdobePathSegment extends java.lang.ObjectAdobe path segment.- See Also:
- Adobe Photoshop Path resource format
-
-
Field Summary
Fields Modifier and Type Field Description (package private) doubleapx(package private) doubleapy(package private) static intCLIPBOARD_RECORD(package private) static intCLOSED_SUBPATH_BEZIER_LINKED(package private) static intCLOSED_SUBPATH_BEZIER_UNLINKED(package private) static intCLOSED_SUBPATH_LENGTH_RECORD(package private) doublecplx(package private) doublecply(package private) doublecppx(package private) doublecppy(package private) static intINITIAL_FILL_RULE_RECORD(package private) intlengthOrRule(package private) static intOPEN_SUBPATH_BEZIER_LINKED(package private) static intOPEN_SUBPATH_BEZIER_UNLINKED(package private) static intOPEN_SUBPATH_LENGTH_RECORD(package private) static intPATH_FILL_RULE_RECORD(package private) intselector(package private) static java.lang.String[]SELECTOR_NAMES
-
Constructor Summary
Constructors Modifier Constructor Description (package private)AdobePathSegment(int selector, double cppy, double cppx, double apy, double apx, double cply, double cplx)(package private)AdobePathSegment(int selector, int lengthOrRule)privateAdobePathSegment(int selector, int lengthOrRule, double cppy, double cppx, double apy, double apx, double cply, double cplx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)(package private) static doublefromFixedPoint(int fixed)inthashCode()(package private) static inttoFixedPoint(double value)java.lang.StringtoString()
-
-
-
Field Detail
-
CLOSED_SUBPATH_LENGTH_RECORD
static final int CLOSED_SUBPATH_LENGTH_RECORD
- See Also:
- Constant Field Values
-
CLOSED_SUBPATH_BEZIER_LINKED
static final int CLOSED_SUBPATH_BEZIER_LINKED
- See Also:
- Constant Field Values
-
CLOSED_SUBPATH_BEZIER_UNLINKED
static final int CLOSED_SUBPATH_BEZIER_UNLINKED
- See Also:
- Constant Field Values
-
OPEN_SUBPATH_LENGTH_RECORD
static final int OPEN_SUBPATH_LENGTH_RECORD
- See Also:
- Constant Field Values
-
OPEN_SUBPATH_BEZIER_LINKED
static final int OPEN_SUBPATH_BEZIER_LINKED
- See Also:
- Constant Field Values
-
OPEN_SUBPATH_BEZIER_UNLINKED
static final int OPEN_SUBPATH_BEZIER_UNLINKED
- See Also:
- Constant Field Values
-
PATH_FILL_RULE_RECORD
static final int PATH_FILL_RULE_RECORD
- See Also:
- Constant Field Values
-
CLIPBOARD_RECORD
static final int CLIPBOARD_RECORD
- See Also:
- Constant Field Values
-
INITIAL_FILL_RULE_RECORD
static final int INITIAL_FILL_RULE_RECORD
- See Also:
- Constant Field Values
-
SELECTOR_NAMES
static final java.lang.String[] SELECTOR_NAMES
-
selector
final int selector
-
lengthOrRule
final int lengthOrRule
-
cppy
final double cppy
-
cppx
final double cppx
-
apy
final double apy
-
apx
final double apx
-
cply
final double cply
-
cplx
final double cplx
-
-
Constructor Detail
-
AdobePathSegment
AdobePathSegment(int selector, double cppy, double cppx, double apy, double apx, double cply, double cplx)
-
AdobePathSegment
AdobePathSegment(int selector, int lengthOrRule)
-
AdobePathSegment
private AdobePathSegment(int selector, int lengthOrRule, double cppy, double cppx, double apy, double apx, double cply, double cplx)
-
-
Method Detail
-
toFixedPoint
static int toFixedPoint(double value)
-
fromFixedPoint
static double fromFixedPoint(int fixed)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-