VFlow.content coordinates.
| Modifier and Type | Field and Description |
|---|---|
| private final double | |
| private final PathElement[] | |
| private final double | |
| private final double | |
| private final double | |
| private final double |
| Access | Constructor and Description |
|---|---|
| private | CaretInfo(double xmin, double xmax, double ymin, double ymax, double lineSpacing, PathElement[] path)
|
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | Returns: true if the coordinate is within the caret bounding boxthe Y coordinate y)Returns true if the specified y coordinate is between the smallest and largest y coordinate of the caret bounding box. |
| public static CaretInfo | Returns: the CaretInfo instancethe line spacing lineSpacing, PathElement[] the caret path path)Creates an instance of CaretInfo given the path and translation offsets required to
convert path coordinates (which come in the frame of reference of its |
| public final double | |
| public final double | Returns: maximum x coordinateReturns the largest x coordinate of the caret shape bounding box. |
| public final double | Returns: maximum y coordinateReturns the largest y coordinate of the caret shape bounding box. |
| public final double | Returns: minimum x coordinateReturns the smallest x coordinate of the caret shape bounding box. |
| public final double | Returns: minimum y coordinateReturns the smallest y coordinate of the caret shape bounding box. |
| private static double | |
| public final PathElement[] | |
| public String |
| lineSpacing | back to summary |
|---|---|
| private final double lineSpacing | |
| path | back to summary |
|---|---|
| private final PathElement[] path | |
| xmax | back to summary |
|---|---|
| private final double xmax | |
| xmin | back to summary |
|---|---|
| private final double xmin | |
| ymax | back to summary |
|---|---|
| private final double ymax | |
| ymin | back to summary |
|---|---|
| private final double ymin | |
| CaretInfo | back to summary |
|---|---|
| private CaretInfo(double xmin, double xmax, double ymin, double ymax, double lineSpacing, PathElement[] path) | |
| containsY | back to summary |
|---|---|
| public final boolean containsY(double y) Returns true if the specified y coordinate is between the smallest and largest y coordinate of the caret bounding box.
| |
| create | back to summary |
|---|---|
| public static CaretInfo create(double lineSpacing, PathElement[] path) Creates an instance of CaretInfo given the path and translation offsets required to
convert path coordinates (which come in the frame of reference of its
| |
| getLineSpacing | back to summary |
|---|---|
| public final double getLineSpacing() Returns the line spacing at the caret position.
| |
| getMaxX | back to summary |
|---|---|
| public final double getMaxX() Returns the largest x coordinate of the caret shape bounding box.
| |
| getMaxY | back to summary |
|---|---|
| public final double getMaxY() Returns the largest y coordinate of the caret shape bounding box.
| |
| getMinX | back to summary |
|---|---|
| public final double getMinX() Returns the smallest x coordinate of the caret shape bounding box.
| |
| getMinY | back to summary |
|---|---|
| public final double getMinY() Returns the smallest y coordinate of the caret shape bounding box.
| |
| halfPixel | back to summary |
|---|---|
| private static double halfPixel(double coord) | |
| path | back to summary |
|---|---|
| public final PathElement[] path() Returns the caret path.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |