public class PointUtil extends Object
| 构造器和说明 |
|---|
PointUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static double[] |
adjustPos(double width,
double height,
double x,
double y,
org.ofdrw.core.basicType.ST_Box boundary) |
static List<PathPoint> |
calPathPoint(List<PathPoint> abbreviatedPoint) |
static List<PathPoint> |
calPdfPathPoint(double width,
double height,
org.ofdrw.core.basicType.ST_Box boundary,
List<PathPoint> abbreviatedPoint,
boolean hasCtm,
org.ofdrw.core.basicType.ST_Array ctm,
org.ofdrw.core.basicType.ST_Box compositeObjectBoundary,
org.ofdrw.core.basicType.ST_Array compositeObjectCTM,
boolean fixOriginToPdf) |
static List<TextCodePoint> |
calPdfTextCoordinate(double width,
double height,
org.ofdrw.core.basicType.ST_Box boundary,
float fontSize,
List<org.ofdrw.core.text.TextCode> textCodes,
boolean hasCtm,
org.ofdrw.core.basicType.ST_Array ctm,
boolean fixOriginToPdf) |
static List<TextCodePoint> |
calPdfTextCoordinate(double width,
double height,
org.ofdrw.core.basicType.ST_Box boundary,
float fontSize,
List<org.ofdrw.core.text.TextCode> textCodes,
List<org.ofdrw.core.text.CT_CGTransform> cgTransforms,
org.ofdrw.core.basicType.ST_Box compositeObjectBoundary,
org.ofdrw.core.basicType.ST_Array compositeObjectCTM,
boolean hasCtm,
org.ofdrw.core.basicType.ST_Array ctm,
boolean fixOriginToPdf) |
static List<TextCodePoint> |
calTextPoint(List<org.ofdrw.core.text.TextCode> textCodes) |
static List<PathPoint> |
convertPathAbbreviatedDatatoPoint(String abbreviatedData)
解析压缩路径为点坐标
|
static double[] |
ctmCalPoint(double x,
double y,
Double[] ctm) |
public static List<PathPoint> convertPathAbbreviatedDatatoPoint(String abbreviatedData)
abbreviatedData - 压缩路径public static List<TextCodePoint> calTextPoint(List<org.ofdrw.core.text.TextCode> textCodes)
public static double[] adjustPos(double width,
double height,
double x,
double y,
org.ofdrw.core.basicType.ST_Box boundary)
public static double[] ctmCalPoint(double x,
double y,
Double[] ctm)
public static List<PathPoint> calPdfPathPoint(double width, double height, org.ofdrw.core.basicType.ST_Box boundary, List<PathPoint> abbreviatedPoint, boolean hasCtm, org.ofdrw.core.basicType.ST_Array ctm, org.ofdrw.core.basicType.ST_Box compositeObjectBoundary, org.ofdrw.core.basicType.ST_Array compositeObjectCTM, boolean fixOriginToPdf)
public static List<TextCodePoint> calPdfTextCoordinate(double width, double height, org.ofdrw.core.basicType.ST_Box boundary, float fontSize, List<org.ofdrw.core.text.TextCode> textCodes, boolean hasCtm, org.ofdrw.core.basicType.ST_Array ctm, boolean fixOriginToPdf)
public static List<TextCodePoint> calPdfTextCoordinate(double width, double height, org.ofdrw.core.basicType.ST_Box boundary, float fontSize, List<org.ofdrw.core.text.TextCode> textCodes, List<org.ofdrw.core.text.CT_CGTransform> cgTransforms, org.ofdrw.core.basicType.ST_Box compositeObjectBoundary, org.ofdrw.core.basicType.ST_Array compositeObjectCTM, boolean hasCtm, org.ofdrw.core.basicType.ST_Array ctm, boolean fixOriginToPdf)
Copyright © 2021. All rights reserved.