Package com.twelvemonkeys.imageio.path
Class AdobePathSegment
- java.lang.Object
-
- com.twelvemonkeys.imageio.path.AdobePathSegment
-
final class AdobePathSegment extends java.lang.Object
Adobe path segment.- See Also:
- Adobe Photoshop Path resource format
-
-
Field Summary
Fields Modifier and Type Field Description (package private) double
apx
(package private) double
apy
(package private) static int
CLIPBOARD_RECORD
(package private) static int
CLOSED_SUBPATH_BEZIER_LINKED
(package private) static int
CLOSED_SUBPATH_BEZIER_UNLINKED
(package private) static int
CLOSED_SUBPATH_LENGTH_RECORD
(package private) double
cplx
(package private) double
cply
(package private) double
cppx
(package private) double
cppy
(package private) static int
INITIAL_FILL_RULE_RECORD
(package private) int
lengthOrRule
(package private) static int
OPEN_SUBPATH_BEZIER_LINKED
(package private) static int
OPEN_SUBPATH_BEZIER_UNLINKED
(package private) static int
OPEN_SUBPATH_LENGTH_RECORD
(package private) static int
PATH_FILL_RULE_RECORD
(package private) int
selector
(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)
private
AdobePathSegment(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 boolean
equals(java.lang.Object other)
(package private) static double
fromFixedPoint(int fixed)
int
hashCode()
(package private) static int
toFixedPoint(double value)
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-