public class SofnSegment extends Segment
Modifier and Type | Class and Description |
---|---|
static class |
SofnSegment.Component |
Modifier and Type | Field and Description |
---|---|
int |
height |
int |
numberOfComponents |
int |
precision |
int |
width |
Constructor and Description |
---|
SofnSegment(int marker,
byte[] segmentData) |
SofnSegment(int marker,
int markerLength,
InputStream is) |
Modifier and Type | Method and Description |
---|---|
SofnSegment.Component[] |
getComponents()
Returns a copy of all the components.
|
SofnSegment.Component |
getComponents(int index)
Returns the component at the specified index.
|
String |
getDescription() |
dump, getSegmentType, toString
debugNumber, debugNumber, getByteOrder, setByteOrder
public final int width
public final int height
public final int numberOfComponents
public final int precision
public SofnSegment(int marker, byte[] segmentData) throws IOException
IOException
public SofnSegment(int marker, int markerLength, InputStream is) throws IOException
IOException
public SofnSegment.Component[] getComponents()
public SofnSegment.Component getComponents(int index)
index
- the array indexpublic String getDescription()
getDescription
in class Segment
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.