public final class AdobePathBuilder extends Object
Shape object from an Adobe Photoshop Path resource.| Constructor | Description |
|---|---|
AdobePathBuilder(byte[] data) |
Creates a path builder that will read its data from a
byte array. |
AdobePathBuilder(DataInput data) |
Creates a path builder that will read its data from a
DataInput, such as an
ImageInputStream. |
public AdobePathBuilder(DataInput data)
DataInput, such as an
ImageInputStream.
The data length is assumed to be a multiple of 26.data - the input to read data from.IllegalArgumentException - if data is nullpublic AdobePathBuilder(byte[] data)
byte array.
The array length must be a multiple of 26, and greater than 0.data - the array to read data from.IllegalArgumentException - if data is null, or not a multiple of 26.public Path2D path() throws IOException
IIOException - if the input contains a bad path data.IOException - if a general I/O exception occurs during reading.Copyright © 2018. All rights reserved.