| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| API widget permission change | Class name: global; API declaration: declare namespace effectKit Differences: NA | Class name: global; API declaration: declare namespace effectKit Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: effectKit; API declaration: interface Filter Differences: NA | Class name: effectKit; API declaration: interface Filter Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: Filter; API declaration: blur(radius: number): Filter; Differences: NA | Class name: Filter; API declaration: blur(radius: number): Filter; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: Filter; API declaration: brightness(bright: number): Filter; Differences: NA | Class name: Filter; API declaration: brightness(bright: number): Filter; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: Filter; API declaration: grayscale(): Filter; Differences: NA | Class name: Filter; API declaration: grayscale(): Filter; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: Filter; API declaration: getEffectPixelMap(): Promise<image.PixelMap>; Differences: NA | Class name: Filter; API declaration: getEffectPixelMap(): Promise<image.PixelMap>; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: effectKit; API declaration: interface ColorPicker Differences: NA | Class name: effectKit; API declaration: interface ColorPicker Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: ColorPicker; API declaration: getMainColor(): Promise<Color>; Differences: NA | Class name: ColorPicker; API declaration: getMainColor(): Promise<Color>; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: ColorPicker; API declaration: getMainColorSync(): Color; Differences: NA | Class name: ColorPicker; API declaration: getMainColorSync(): Color; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: ColorPicker; API declaration: getLargestProportionColor(): Color; Differences: NA | Class name: ColorPicker; API declaration: getLargestProportionColor(): Color; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: ColorPicker; API declaration: getHighestSaturationColor(): Color; Differences: NA | Class name: ColorPicker; API declaration: getHighestSaturationColor(): Color; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: ColorPicker; API declaration: getAverageColor(): Color; Differences: NA | Class name: ColorPicker; API declaration: getAverageColor(): Color; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: ColorPicker; API declaration: isBlackOrWhiteOrGrayColor(color: number): boolean; Differences: NA | Class name: ColorPicker; API declaration: isBlackOrWhiteOrGrayColor(color: number): boolean; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: effectKit; API declaration: interface Color Differences: NA | Class name: effectKit; API declaration: interface Color Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: Color; API declaration: red: number; Differences: NA | Class name: Color; API declaration: red: number; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: Color; API declaration: green: number; Differences: NA | Class name: Color; API declaration: green: number; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: Color; API declaration: blue: number; Differences: NA | Class name: Color; API declaration: blue: number; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: Color; API declaration: alpha: number; Differences: NA | Class name: Color; API declaration: alpha: number; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: effectKit; API declaration: function createEffect(source: image.PixelMap): Filter; Differences: NA | Class name: effectKit; API declaration: function createEffect(source: image.PixelMap): Filter; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap): Promise<ColorPicker>; Differences: NA | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap): Promise<ColorPicker>; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, region: Array<number>): Promise<ColorPicker>; Differences: NA | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, region: Array<number>): Promise<ColorPicker>; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, callback: AsyncCallback<ColorPicker>): void; Differences: NA | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, callback: AsyncCallback<ColorPicker>): void; Differences: form | api/@ohos.effectKit.d.ts |
| API widget permission change | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, region: Array<number>, callback: AsyncCallback<ColorPicker>): void; Differences: NA | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, region: Array<number>, callback: AsyncCallback<ColorPicker>): void; Differences: form | api/@ohos.effectKit.d.ts |
| Function change | Class name: Canvas; API declaration: drawImage(pixelmap: image.PixelMap, left: number, top: number): void; Differences: NA | Class name: Canvas; API declaration: drawImage(pixelmap: image.PixelMap, left: number, top: number, samplingOptions?: SamplingOptions): void; Differences: samplingOptions?: SamplingOptions | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: common2D; API declaration: interface Point Differences: interface Point | api/@ohos.graphics.common2D.d.ts |
| New API | NA | Class name: Point; API declaration: x: number; Differences: x: number; | api/@ohos.graphics.common2D.d.ts |
| New API | NA | Class name: Point; API declaration: y: number; Differences: y: number; | api/@ohos.graphics.common2D.d.ts |
| New API | NA | Class name: common2D; API declaration: interface Point3d Differences: interface Point3d | api/@ohos.graphics.common2D.d.ts |
| New API | NA | Class name: Point3d; API declaration: z: number; Differences: z: number; | api/@ohos.graphics.common2D.d.ts |
| New API | NA | Class name: drawing; API declaration: enum PathDirection Differences: enum PathDirection | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathDirection; API declaration: CLOCKWISE = 0 Differences: CLOCKWISE = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathDirection; API declaration: COUNTER_CLOCKWISE = 1 Differences: COUNTER_CLOCKWISE = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum PathFillType Differences: enum PathFillType | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathFillType; API declaration: WINDING = 0 Differences: WINDING = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathFillType; API declaration: EVEN_ODD = 1 Differences: EVEN_ODD = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathFillType; API declaration: INVERSE_WINDING = 2 Differences: INVERSE_WINDING = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathFillType; API declaration: INVERSE_EVEN_ODD = 3 Differences: INVERSE_EVEN_ODD = 3 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum PathMeasureMatrixFlags Differences: enum PathMeasureMatrixFlags | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathMeasureMatrixFlags; API declaration: GET_POSITION_MATRIX = 0 Differences: GET_POSITION_MATRIX = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathMeasureMatrixFlags; API declaration: GET_TANGENT_MATRIX = 1 Differences: GET_TANGENT_MATRIX = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathMeasureMatrixFlags; API declaration: GET_POSITION_AND_TANGENT_MATRIX = 2 Differences: GET_POSITION_AND_TANGENT_MATRIX = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: class RoundRect Differences: class RoundRect | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RoundRect; API declaration: setCorner(pos: CornerPos, x: number, y: number): void; Differences: setCorner(pos: CornerPos, x: number, y: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RoundRect; API declaration: getCorner(pos: CornerPos): common2D.Point; Differences: getCorner(pos: CornerPos): common2D.Point; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RoundRect; API declaration: offset(dx: number, dy: number): void; Differences: offset(dx: number, dy: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum PathOp Differences: enum PathOp | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathOp; API declaration: DIFFERENCE = 0 Differences: DIFFERENCE = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathOp; API declaration: INTERSECT = 1 Differences: INTERSECT = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathOp; API declaration: UNION = 2 Differences: UNION = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathOp; API declaration: XOR = 3 Differences: XOR = 3 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathOp; API declaration: REVERSE_DIFFERENCE = 4 Differences: REVERSE_DIFFERENCE = 4 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: conicTo(ctrlX: number, ctrlY: number, endX: number, endY: number, weight: number): void; Differences: conicTo(ctrlX: number, ctrlY: number, endX: number, endY: number, weight: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: rMoveTo(dx: number, dy: number): void; Differences: rMoveTo(dx: number, dy: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: rLineTo(dx: number, dy: number): void; Differences: rLineTo(dx: number, dy: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: rQuadTo(dx1: number, dy1: number, dx2: number, dy2: number): void; Differences: rQuadTo(dx1: number, dy1: number, dx2: number, dy2: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: rConicTo(ctrlX: number, ctrlY: number, endX: number, endY: number, weight: number): void; Differences: rConicTo(ctrlX: number, ctrlY: number, endX: number, endY: number, weight: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: rCubicTo(ctrlX1: number, ctrlY1: number, ctrlX2: number, ctrlY2: number, endX: number, endY: number): void; Differences: rCubicTo(ctrlX1: number, ctrlY1: number, ctrlX2: number, ctrlY2: number, endX: number, endY: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: addPolygon(points: Array<common2D.Point>, close: boolean): void; Differences: addPolygon(points: Array<common2D.Point>, close: boolean): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: op(path: Path, pathOp: PathOp): boolean; Differences: op(path: Path, pathOp: PathOp): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: addArc(rect: common2D.Rect, startAngle: number, sweepAngle: number): void; Differences: addArc(rect: common2D.Rect, startAngle: number, sweepAngle: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: addCircle(x: number, y: number, radius: number, pathDirection?: PathDirection): void; Differences: addCircle(x: number, y: number, radius: number, pathDirection?: PathDirection): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: addOval(rect: common2D.Rect, start: number, pathDirection?: PathDirection): void; Differences: addOval(rect: common2D.Rect, start: number, pathDirection?: PathDirection): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: addRect(rect: common2D.Rect, pathDirection?: PathDirection): void; Differences: addRect(rect: common2D.Rect, pathDirection?: PathDirection): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: addRoundRect(roundRect: RoundRect, pathDirection?: PathDirection): void; Differences: addRoundRect(roundRect: RoundRect, pathDirection?: PathDirection): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: addPath(path: Path, matrix?: Matrix |null): void; Differences: addPath(path: Path, matrix?: Matrix |null): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: transform(matrix: Matrix): void; Differences: transform(matrix: Matrix): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: contains(x: number, y: number): boolean; Differences: contains(x: number, y: number): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: setFillType(pathFillType: PathFillType): void; Differences: setFillType(pathFillType: PathFillType): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: getBounds(): common2D.Rect; Differences: getBounds(): common2D.Rect; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: offset(dx: number, dy: number): Path; Differences: offset(dx: number, dy: number): Path; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: getLength(forceClosed: boolean): number; Differences: getLength(forceClosed: boolean): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: getPositionAndTangent(forceClosed: boolean, distance: number, position: common2D.Point, tangent: common2D.Point): boolean; Differences: getPositionAndTangent(forceClosed: boolean, distance: number, position: common2D.Point, tangent: common2D.Point): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: isClosed(): boolean; Differences: isClosed(): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: getMatrix(forceClosed: boolean, distance: number, matrix: Matrix, flags: PathMeasureMatrixFlags): boolean; Differences: getMatrix(forceClosed: boolean, distance: number, matrix: Matrix, flags: PathMeasureMatrixFlags): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Path; API declaration: buildFromSvgString(str: string): boolean; Differences: buildFromSvgString(str: string): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum PointMode Differences: enum PointMode | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PointMode; API declaration: POINTS = 0 Differences: POINTS = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PointMode; API declaration: LINES = 1 Differences: LINES = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PointMode; API declaration: POLYGON = 2 Differences: POLYGON = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum FilterMode Differences: enum FilterMode | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FilterMode; API declaration: FILTER_MODE_NEAREST = 0 Differences: FILTER_MODE_NEAREST = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FilterMode; API declaration: FILTER_MODE_LINEAR = 1 Differences: FILTER_MODE_LINEAR = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum ShadowFlag Differences: enum ShadowFlag | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ShadowFlag; API declaration: NONE = 0 Differences: NONE = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ShadowFlag; API declaration: TRANSPARENT_OCCLUDER = 1 Differences: TRANSPARENT_OCCLUDER = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ShadowFlag; API declaration: GEOMETRIC_ONLY = 2 Differences: GEOMETRIC_ONLY = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ShadowFlag; API declaration: ALL = 3 Differences: ALL = 3 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: class SamplingOptions Differences: class SamplingOptions | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawRoundRect(roundRect: RoundRect): void; Differences: drawRoundRect(roundRect: RoundRect): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawNestedRoundRect(outer: RoundRect, inner: RoundRect): void; Differences: drawNestedRoundRect(outer: RoundRect, inner: RoundRect): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawBackground(brush: Brush): void; Differences: drawBackground(brush: Brush): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawShadow(path: Path, planeParams: common2D.Point3d, devLightPos: common2D.Point3d, lightRadius: number, ambientColor: common2D.Color, spotColor: common2D.Color, flag: ShadowFlag): void; Differences: drawShadow(path: Path, planeParams: common2D.Point3d, devLightPos: common2D.Point3d, lightRadius: number, ambientColor: common2D.Color, spotColor: common2D.Color, flag: ShadowFlag): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawImageRect(pixelmap: image.PixelMap, dstRect: common2D.Rect, samplingOptions?: SamplingOptions): void; Differences: drawImageRect(pixelmap: image.PixelMap, dstRect: common2D.Rect, samplingOptions?: SamplingOptions): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawImageRectWithSrc(pixelmap: image.PixelMap, srcRect: common2D.Rect, dstRect: common2D.Rect, samplingOptions?: SamplingOptions, constraint?: SrcRectConstraint): void; Differences: drawImageRectWithSrc(pixelmap: image.PixelMap, srcRect: common2D.Rect, dstRect: common2D.Rect, samplingOptions?: SamplingOptions, constraint?: SrcRectConstraint): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawOval(oval: common2D.Rect): void; Differences: drawOval(oval: common2D.Rect): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawArc(arc: common2D.Rect, startAngle: number, sweepAngle: number): void; Differences: drawArc(arc: common2D.Rect, startAngle: number, sweepAngle: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawPoints(points: Array<common2D.Point>, mode?: PointMode): void; Differences: drawPoints(points: Array<common2D.Point>, mode?: PointMode): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawSingleCharacter(text: string, font: Font, x: number, y: number): void; Differences: drawSingleCharacter(text: string, font: Font, x: number, y: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawPixelMapMesh(pixelmap: image.PixelMap, meshWidth: number, meshHeight: number, vertices: Array<number>, vertOffset: number, colors: Array<number>, colorOffset: number): void; Differences: drawPixelMapMesh(pixelmap: image.PixelMap, meshWidth: number, meshHeight: number, vertices: Array<number>, vertOffset: number, colors: Array<number>, colorOffset: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: drawRegion(region: Region): void; Differences: drawRegion(region: Region): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: save(): number; Differences: save(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: saveLayer(rect?: common2D.Rect |null, brush?: Brush |null): number; Differences: saveLayer(rect?: common2D.Rect |null, brush?: Brush |null): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: clear(color: common2D.Color): void; Differences: clear(color: common2D.Color): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: restore(): void; Differences: restore(): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: restoreToCount(count: number): void; Differences: restoreToCount(count: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: getSaveCount(): number; Differences: getSaveCount(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: getWidth(): number; Differences: getWidth(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: getHeight(): number; Differences: getHeight(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: getLocalClipBounds(): common2D.Rect; Differences: getLocalClipBounds(): common2D.Rect; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: getTotalMatrix(): Matrix; Differences: getTotalMatrix(): Matrix; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: scale(sx: number, sy: number): void; Differences: scale(sx: number, sy: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: skew(sx: number, sy: number): void; Differences: skew(sx: number, sy: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: rotate(degrees: number, sx: number, sy: number): void; Differences: rotate(degrees: number, sx: number, sy: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: translate(dx: number, dy: number): void; Differences: translate(dx: number, dy: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: clipPath(path: Path, clipOp?: ClipOp, doAntiAlias?: boolean): void; Differences: clipPath(path: Path, clipOp?: ClipOp, doAntiAlias?: boolean): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: clipRect(rect: common2D.Rect, clipOp?: ClipOp, doAntiAlias?: boolean): void; Differences: clipRect(rect: common2D.Rect, clipOp?: ClipOp, doAntiAlias?: boolean): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: concatMatrix(matrix: Matrix): void; Differences: concatMatrix(matrix: Matrix): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: clipRegion(region: Region, clipOp?: ClipOp): void; Differences: clipRegion(region: Region, clipOp?: ClipOp): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: clipRoundRect(roundRect: RoundRect, clipOp?: ClipOp, doAntiAlias?: boolean): void; Differences: clipRoundRect(roundRect: RoundRect, clipOp?: ClipOp, doAntiAlias?: boolean): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: isClipEmpty(): boolean; Differences: isClipEmpty(): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: setMatrix(matrix: Matrix): void; Differences: setMatrix(matrix: Matrix): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Canvas; API declaration: resetMatrix(): void; Differences: resetMatrix(): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum ClipOp Differences: enum ClipOp | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ClipOp; API declaration: DIFFERENCE = 0 Differences: DIFFERENCE = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ClipOp; API declaration: INTERSECT = 1 Differences: INTERSECT = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: TextBlob; API declaration: static makeFromPosText(text: string, len: number, points: common2D.Point[], font: Font): TextBlob; Differences: static makeFromPosText(text: string, len: number, points: common2D.Point[], font: Font): TextBlob; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: TextBlob; API declaration: uniqueID(): number; Differences: uniqueID(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Typeface; API declaration: static makeFromFile(filePath: string): Typeface; Differences: static makeFromFile(filePath: string): Typeface; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum FontEdging Differences: enum FontEdging | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontEdging; API declaration: ALIAS = 0 Differences: ALIAS = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontEdging; API declaration: ANTI_ALIAS = 1 Differences: ANTI_ALIAS = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontEdging; API declaration: SUBPIXEL_ANTI_ALIAS = 2 Differences: SUBPIXEL_ANTI_ALIAS = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum FontHinting Differences: enum FontHinting | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontHinting; API declaration: NONE = 0 Differences: NONE = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontHinting; API declaration: SLIGHT = 1 Differences: SLIGHT = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontHinting; API declaration: NORMAL = 2 Differences: NORMAL = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontHinting; API declaration: FULL = 3 Differences: FULL = 3 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: measureSingleCharacter(text: string): number; Differences: measureSingleCharacter(text: string): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: setScaleX(scaleX: number): void; Differences: setScaleX(scaleX: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: setSkewX(skewX: number): void; Differences: setSkewX(skewX: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: setEdging(edging: FontEdging): void; Differences: setEdging(edging: FontEdging): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: setHinting(hinting: FontHinting): void; Differences: setHinting(hinting: FontHinting): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: countText(text: string): number; Differences: countText(text: string): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: setBaselineSnap(isBaselineSnap: boolean): void; Differences: setBaselineSnap(isBaselineSnap: boolean): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: isBaselineSnap(): boolean; Differences: isBaselineSnap(): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: setEmbeddedBitmaps(isEmbeddedBitmaps: boolean): void; Differences: setEmbeddedBitmaps(isEmbeddedBitmaps: boolean): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: isEmbeddedBitmaps(): boolean; Differences: isEmbeddedBitmaps(): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: setForceAutoHinting(isForceAutoHinting: boolean): void; Differences: setForceAutoHinting(isForceAutoHinting: boolean): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: isForceAutoHinting(): boolean; Differences: isForceAutoHinting(): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: getWidths(glyphs: Array<number>): Array<number>; Differences: getWidths(glyphs: Array<number>): Array<number>; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: textToGlyphs(text: string, glyphCount?: number): Array<number>; Differences: textToGlyphs(text: string, glyphCount?: number): Array<number>; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: isSubpixel(): boolean; Differences: isSubpixel(): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: isLinearMetrics(): boolean; Differences: isLinearMetrics(): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: getSkewX(): number; Differences: getSkewX(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: isEmbolden(): boolean; Differences: isEmbolden(): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: getScaleX(): number; Differences: getScaleX(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: getHinting(): FontHinting; Differences: getHinting(): FontHinting; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Font; API declaration: getEdging(): FontEdging; Differences: getEdging(): FontEdging; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum FontMetricsFlags Differences: enum FontMetricsFlags | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetricsFlags; API declaration: UNDERLINE_THICKNESS_VALID = 1 << 0 Differences: UNDERLINE_THICKNESS_VALID = 1 << 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetricsFlags; API declaration: UNDERLINE_POSITION_VALID = 1 << 1 Differences: UNDERLINE_POSITION_VALID = 1 << 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetricsFlags; API declaration: STRIKETHROUGH_THICKNESS_VALID = 1 << 2 Differences: STRIKETHROUGH_THICKNESS_VALID = 1 << 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetricsFlags; API declaration: STRIKETHROUGH_POSITION_VALID = 1 << 3 Differences: STRIKETHROUGH_POSITION_VALID = 1 << 3 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetricsFlags; API declaration: BOUNDS_INVALID = 1 << 4 Differences: BOUNDS_INVALID = 1 << 4 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: flags?: FontMetricsFlags; Differences: flags?: FontMetricsFlags; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: avgCharWidth?: number; Differences: avgCharWidth?: number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: maxCharWidth?: number; Differences: maxCharWidth?: number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: xMin?: number; Differences: xMin?: number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: xMax?: number; Differences: xMax?: number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: xHeight?: number; Differences: xHeight?: number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: capHeight?: number; Differences: capHeight?: number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: underlineThickness?: number; Differences: underlineThickness?: number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: underlinePosition?: number; Differences: underlinePosition?: number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: strikethroughThickness?: number; Differences: strikethroughThickness?: number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: FontMetrics; API declaration: strikethroughPosition?: number; Differences: strikethroughPosition?: number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: class Lattice Differences: class Lattice | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Lattice; API declaration: static createImageLattice(xDivs: Array<number>, yDivs: Array<number>, fXCount: number, fYCount: number, fBounds?: common2D.Rect |null, fRectTypes?: Array<RectType> |null, fColors?: Array<common2D.Color> |null): Lattice; Differences: static createImageLattice(xDivs: Array<number>, yDivs: Array<number>, fXCount: number, fYCount: number, fBounds?: common2D.Rect |null, fRectTypes?: Array<RectType> |null, fColors?: Array<common2D.Color> |null): Lattice; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum RectType Differences: enum RectType | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RectType; API declaration: DEFAULT = 0 Differences: DEFAULT = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RectType; API declaration: TRANSPARENT = 1 Differences: TRANSPARENT = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RectType; API declaration: FIXEDCOLOR = 2 Differences: FIXEDCOLOR = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: class MaskFilter Differences: class MaskFilter | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: MaskFilter; API declaration: static createBlurMaskFilter(blurType: BlurType, sigma: number): MaskFilter; Differences: static createBlurMaskFilter(blurType: BlurType, sigma: number): MaskFilter; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: class PathEffect Differences: class PathEffect | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathEffect; API declaration: static createDashPathEffect(intervals: Array<number>, phase: number): PathEffect; Differences: static createDashPathEffect(intervals: Array<number>, phase: number): PathEffect; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: PathEffect; API declaration: static createCornerPathEffect(radius: number): PathEffect; Differences: static createCornerPathEffect(radius: number): PathEffect; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: class ShaderEffect Differences: class ShaderEffect | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ShaderEffect; API declaration: static createColorShader(color: number): ShaderEffect; Differences: static createColorShader(color: number): ShaderEffect; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ShaderEffect; API declaration: static createLinearGradient(startPt: common2D.Point, endPt: common2D.Point, colors: Array<number>, mode: TileMode, pos?: Array<number> |null, matrix?: Matrix |null): ShaderEffect; Differences: static createLinearGradient(startPt: common2D.Point, endPt: common2D.Point, colors: Array<number>, mode: TileMode, pos?: Array<number> |null, matrix?: Matrix |null): ShaderEffect; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ShaderEffect; API declaration: static createRadialGradient(centerPt: common2D.Point, radius: number, colors: Array<number>, mode: TileMode, pos?: Array<number> |null, matrix?: Matrix |null): ShaderEffect; Differences: static createRadialGradient(centerPt: common2D.Point, radius: number, colors: Array<number>, mode: TileMode, pos?: Array<number> |null, matrix?: Matrix |null): ShaderEffect; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ShaderEffect; API declaration: static createSweepGradient(centerPt: common2D.Point, colors: Array<number>, mode: TileMode, startAngle: number, endAngle: number, pos?: Array<number> |null, matrix?: Matrix |null): ShaderEffect; Differences: static createSweepGradient(centerPt: common2D.Point, colors: Array<number>, mode: TileMode, startAngle: number, endAngle: number, pos?: Array<number> |null, matrix?: Matrix |null): ShaderEffect; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ShaderEffect; API declaration: static createConicalGradient(startPt: common2D.Point, startRadius: number, endPt: common2D.Point, endRadius: number, colors: Array<number>, mode: TileMode, pos?: Array<number> |null, matrix?: Matrix |null): ShaderEffect; Differences: static createConicalGradient(startPt: common2D.Point, startRadius: number, endPt: common2D.Point, endRadius: number, colors: Array<number>, mode: TileMode, pos?: Array<number> |null, matrix?: Matrix |null): ShaderEffect; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum TileMode Differences: enum TileMode | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: TileMode; API declaration: CLAMP = 0 Differences: CLAMP = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: TileMode; API declaration: REPEAT = 1 Differences: REPEAT = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: TileMode; API declaration: MIRROR = 2 Differences: MIRROR = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: TileMode; API declaration: DECAL = 3 Differences: DECAL = 3 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: class ShadowLayer Differences: class ShadowLayer | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ShadowLayer; API declaration: static create(blurRadius: number, x: number, y: number, color: common2D.Color): ShadowLayer; Differences: static create(blurRadius: number, x: number, y: number, color: common2D.Color): ShadowLayer; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ColorFilter; API declaration: static createMatrixColorFilter(matrix: Array<number>): ColorFilter; Differences: static createMatrixColorFilter(matrix: Array<number>): ColorFilter; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: class ImageFilter Differences: class ImageFilter | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ImageFilter; API declaration: static createBlurImageFilter(sigmaX: number, sigmaY: number, tileMode: TileMode, imageFilter?: ImageFilter |null): ImageFilter; Differences: static createBlurImageFilter(sigmaX: number, sigmaY: number, tileMode: TileMode, imageFilter?: ImageFilter |null): ImageFilter; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ImageFilter; API declaration: static createFromColorFilter(colorFilter: ColorFilter, imageFilter?: ImageFilter |null): ImageFilter; Differences: static createFromColorFilter(colorFilter: ColorFilter, imageFilter?: ImageFilter |null): ImageFilter; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum JoinStyle Differences: enum JoinStyle | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: JoinStyle; API declaration: MITER_JOIN = 0 Differences: MITER_JOIN = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: JoinStyle; API declaration: ROUND_JOIN = 1 Differences: ROUND_JOIN = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: JoinStyle; API declaration: BEVEL_JOIN = 2 Differences: BEVEL_JOIN = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum CapStyle Differences: enum CapStyle | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: CapStyle; API declaration: FLAT_CAP = 0 Differences: FLAT_CAP = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: CapStyle; API declaration: SQUARE_CAP = 1 Differences: SQUARE_CAP = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: CapStyle; API declaration: ROUND_CAP = 2 Differences: ROUND_CAP = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum BlurType Differences: enum BlurType | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: BlurType; API declaration: NORMAL = 0 Differences: NORMAL = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: BlurType; API declaration: SOLID = 1 Differences: SOLID = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: BlurType; API declaration: OUTER = 2 Differences: OUTER = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: BlurType; API declaration: INNER = 3 Differences: INNER = 3 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: setMiterLimit(miter: number): void; Differences: setMiterLimit(miter: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: getMiterLimit(): number; Differences: getMiterLimit(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: setShaderEffect(shaderEffect: ShaderEffect): void; Differences: setShaderEffect(shaderEffect: ShaderEffect): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: getColor(): common2D.Color; Differences: getColor(): common2D.Color; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: getWidth(): number; Differences: getWidth(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: isAntiAlias(): boolean; Differences: isAntiAlias(): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: getAlpha(): number; Differences: getAlpha(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: getColorFilter(): ColorFilter; Differences: getColorFilter(): ColorFilter; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: setImageFilter(filter: ImageFilter |null): void; Differences: setImageFilter(filter: ImageFilter |null): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: setMaskFilter(filter: MaskFilter): void; Differences: setMaskFilter(filter: MaskFilter): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: setPathEffect(effect: PathEffect): void; Differences: setPathEffect(effect: PathEffect): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: setShadowLayer(shadowLayer: ShadowLayer): void; Differences: setShadowLayer(shadowLayer: ShadowLayer): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: setJoinStyle(style: JoinStyle): void; Differences: setJoinStyle(style: JoinStyle): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: getJoinStyle(): JoinStyle; Differences: getJoinStyle(): JoinStyle; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: setCapStyle(style: CapStyle): void; Differences: setCapStyle(style: CapStyle): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: getCapStyle(): CapStyle; Differences: getCapStyle(): CapStyle; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: reset(): void; Differences: reset(): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Pen; API declaration: getFillPath(src: Path, dst: Path): boolean; Differences: getFillPath(src: Path, dst: Path): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Brush; API declaration: getColor(): common2D.Color; Differences: getColor(): common2D.Color; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Brush; API declaration: isAntiAlias(): boolean; Differences: isAntiAlias(): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Brush; API declaration: getAlpha(): number; Differences: getAlpha(): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Brush; API declaration: getColorFilter(): ColorFilter; Differences: getColorFilter(): ColorFilter; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Brush; API declaration: setImageFilter(filter: ImageFilter |null): void; Differences: setImageFilter(filter: ImageFilter |null): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Brush; API declaration: setMaskFilter(filter: MaskFilter): void; Differences: setMaskFilter(filter: MaskFilter): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Brush; API declaration: setShadowLayer(shadowLayer: ShadowLayer): void; Differences: setShadowLayer(shadowLayer: ShadowLayer): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Brush; API declaration: setShaderEffect(shaderEffect: ShaderEffect): void; Differences: setShaderEffect(shaderEffect: ShaderEffect): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Brush; API declaration: reset(): void; Differences: reset(): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: class Matrix Differences: class Matrix | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: setRotation(degree: number, px: number, py: number): void; Differences: setRotation(degree: number, px: number, py: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: setScale(sx: number, sy: number, px: number, py: number): void; Differences: setScale(sx: number, sy: number, px: number, py: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: setTranslation(dx: number, dy: number): void; Differences: setTranslation(dx: number, dy: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: setMatrix(values: Array<number>): void; Differences: setMatrix(values: Array<number>): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: preConcat(matrix: Matrix): void; Differences: preConcat(matrix: Matrix): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: isEqual(matrix: Matrix): Boolean; Differences: isEqual(matrix: Matrix): Boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: invert(matrix: Matrix): Boolean; Differences: invert(matrix: Matrix): Boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: isIdentity(): Boolean; Differences: isIdentity(): Boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: getValue(index: number): number; Differences: getValue(index: number): number; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: postRotate(degree: number, px: number, py: number): void; Differences: postRotate(degree: number, px: number, py: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: postScale(sx: number, sy: number, px: number, py: number): void; Differences: postScale(sx: number, sy: number, px: number, py: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: postTranslate(dx: number, dy: number): void; Differences: postTranslate(dx: number, dy: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: preRotate(degree: number, px: number, py: number): void; Differences: preRotate(degree: number, px: number, py: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: preScale(sx: number, sy: number, px: number, py: number): void; Differences: preScale(sx: number, sy: number, px: number, py: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: preTranslate(dx: number, dy: number): void; Differences: preTranslate(dx: number, dy: number): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: reset(): void; Differences: reset(): void; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: mapPoints(src: Array<common2D.Point>): Array<common2D.Point>; Differences: mapPoints(src: Array<common2D.Point>): Array<common2D.Point>; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: getAll(): Array<number>; Differences: getAll(): Array<number>; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: mapRect(dst: common2D.Rect, src: common2D.Rect): boolean; Differences: mapRect(dst: common2D.Rect, src: common2D.Rect): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: setRectToRect(src: common2D.Rect, dst: common2D.Rect, scaleToFit: ScaleToFit): boolean; Differences: setRectToRect(src: common2D.Rect, dst: common2D.Rect, scaleToFit: ScaleToFit): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Matrix; API declaration: setPolyToPoly(src: Array<common2D.Point>, dst: Array<common2D.Point>, count: number): boolean; Differences: setPolyToPoly(src: Array<common2D.Point>, dst: Array<common2D.Point>, count: number): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum ScaleToFit Differences: enum ScaleToFit | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ScaleToFit; API declaration: FILL_SCALE_TO_FIT = 0 Differences: FILL_SCALE_TO_FIT = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ScaleToFit; API declaration: START_SCALE_TO_FIT = 1 Differences: START_SCALE_TO_FIT = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ScaleToFit; API declaration: CENTER_SCALE_TO_FIT = 2 Differences: CENTER_SCALE_TO_FIT = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: ScaleToFit; API declaration: END_SCALE_TO_FIT = 3 Differences: END_SCALE_TO_FIT = 3 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: class Region Differences: class Region | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Region; API declaration: isPointContained(x: number, y: number): boolean; Differences: isPointContained(x: number, y: number): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Region; API declaration: isRegionContained(other: Region): boolean; Differences: isRegionContained(other: Region): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Region; API declaration: op(region: Region, regionOp: RegionOp): boolean; Differences: op(region: Region, regionOp: RegionOp): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Region; API declaration: quickReject(left: number, top: number, right: number, bottom: number): boolean; Differences: quickReject(left: number, top: number, right: number, bottom: number): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Region; API declaration: setPath(path: Path, clip: Region): boolean; Differences: setPath(path: Path, clip: Region): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: Region; API declaration: setRect(left: number, top: number, right: number, bottom: number): boolean; Differences: setRect(left: number, top: number, right: number, bottom: number): boolean; | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum RegionOp Differences: enum RegionOp | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RegionOp; API declaration: DIFFERENCE = 0 Differences: DIFFERENCE = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RegionOp; API declaration: INTERSECT = 1 Differences: INTERSECT = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RegionOp; API declaration: UNION = 2 Differences: UNION = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RegionOp; API declaration: XOR = 3 Differences: XOR = 3 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RegionOp; API declaration: REVERSE_DIFFERENCE = 4 Differences: REVERSE_DIFFERENCE = 4 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: RegionOp; API declaration: REPLACE = 5 Differences: REPLACE = 5 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum CornerPos Differences: enum CornerPos | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: CornerPos; API declaration: TOP_LEFT_POS = 0 Differences: TOP_LEFT_POS = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: CornerPos; API declaration: TOP_RIGHT_POS = 1 Differences: TOP_RIGHT_POS = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: CornerPos; API declaration: BOTTOM_RIGHT_POS = 2 Differences: BOTTOM_RIGHT_POS = 2 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: CornerPos; API declaration: BOTTOM_LEFT_POS = 3 Differences: BOTTOM_LEFT_POS = 3 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: drawing; API declaration: enum SrcRectConstraint Differences: enum SrcRectConstraint | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: SrcRectConstraint; API declaration: STRICT = 0 Differences: STRICT = 0 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: SrcRectConstraint; API declaration: FAST = 1 Differences: FAST = 1 | api/@ohos.graphics.drawing.d.ts |
| New API | NA | Class name: global; API declaration: declare namespace sendableColorSpaceManager Differences: declare namespace sendableColorSpaceManager | api/@ohos.graphics.sendableColorSpaceManager.d.ets |
| New API | NA | Class name: sendableColorSpaceManager; API declaration: type ISendable = lang.ISendable; Differences: type ISendable = lang.ISendable; | api/@ohos.graphics.sendableColorSpaceManager.d.ets |
| New API | NA | Class name: sendableColorSpaceManager; API declaration: interface ColorSpaceManager Differences: interface ColorSpaceManager | api/@ohos.graphics.sendableColorSpaceManager.d.ets |
| New API | NA | Class name: ColorSpaceManager; API declaration: getColorSpaceName(): colorSpaceManager.ColorSpace; Differences: getColorSpaceName(): colorSpaceManager.ColorSpace; | api/@ohos.graphics.sendableColorSpaceManager.d.ets |
| New API | NA | Class name: ColorSpaceManager; API declaration: getWhitePoint(): collections.Array<number>; Differences: getWhitePoint(): collections.Array<number>; | api/@ohos.graphics.sendableColorSpaceManager.d.ets |
| New API | NA | Class name: ColorSpaceManager; API declaration: getGamma(): number; Differences: getGamma(): number; | api/@ohos.graphics.sendableColorSpaceManager.d.ets |
| New API | NA | Class name: sendableColorSpaceManager; API declaration: function create(colorSpaceName: colorSpaceManager.ColorSpace): ColorSpaceManager; Differences: function create(colorSpaceName: colorSpaceManager.ColorSpace): ColorSpaceManager; | api/@ohos.graphics.sendableColorSpaceManager.d.ets |
| New API | NA | Class name: sendableColorSpaceManager; API declaration: function create(primaries: colorSpaceManager.ColorSpacePrimaries, gamma: number): ColorSpaceManager; Differences: function create(primaries: colorSpaceManager.ColorSpacePrimaries, gamma: number): ColorSpaceManager; | api/@ohos.graphics.sendableColorSpaceManager.d.ets |
| New API | NA | Class name: global; API declaration: declare namespace text Differences: declare namespace text | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum TextAlign Differences: enum TextAlign | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextAlign; API declaration: LEFT = 0 Differences: LEFT = 0 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextAlign; API declaration: RIGHT = 1 Differences: RIGHT = 1 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextAlign; API declaration: CENTER = 2 Differences: CENTER = 2 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextAlign; API declaration: JUSTIFY = 3 Differences: JUSTIFY = 3 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextAlign; API declaration: START = 4 Differences: START = 4 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextAlign; API declaration: END = 5 Differences: END = 5 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum TextDirection Differences: enum TextDirection | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDirection; API declaration: RTL Differences: RTL | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDirection; API declaration: LTR Differences: LTR | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum BreakStrategy Differences: enum BreakStrategy | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: BreakStrategy; API declaration: GREEDY Differences: GREEDY | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: BreakStrategy; API declaration: HIGH_QUALITY Differences: HIGH_QUALITY | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: BreakStrategy; API declaration: BALANCED Differences: BALANCED | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum WordBreak Differences: enum WordBreak | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: WordBreak; API declaration: NORMAL Differences: NORMAL | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: WordBreak; API declaration: BREAK_ALL Differences: BREAK_ALL | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: WordBreak; API declaration: BREAK_WORD Differences: BREAK_WORD | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface Decoration Differences: interface Decoration | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Decoration; API declaration: textDecoration?: TextDecorationType; Differences: textDecoration?: TextDecorationType; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Decoration; API declaration: color?: common2D.Color; Differences: color?: common2D.Color; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Decoration; API declaration: decorationStyle?: TextDecorationStyle; Differences: decorationStyle?: TextDecorationStyle; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Decoration; API declaration: decorationThicknessScale?: number; Differences: decorationThicknessScale?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum TextDecorationType Differences: enum TextDecorationType | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDecorationType; API declaration: NONE Differences: NONE | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDecorationType; API declaration: UNDERLINE Differences: UNDERLINE | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDecorationType; API declaration: OVERLINE Differences: OVERLINE | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDecorationType; API declaration: LINE_THROUGH Differences: LINE_THROUGH | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum TextDecorationStyle Differences: enum TextDecorationStyle | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDecorationStyle; API declaration: SOLID Differences: SOLID | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDecorationStyle; API declaration: DOUBLE Differences: DOUBLE | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDecorationStyle; API declaration: DOTTED Differences: DOTTED | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDecorationStyle; API declaration: DASHED Differences: DASHED | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextDecorationStyle; API declaration: WAVY Differences: WAVY | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum FontWeight Differences: enum FontWeight | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWeight; API declaration: W100 Differences: W100 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWeight; API declaration: W200 Differences: W200 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWeight; API declaration: W300 Differences: W300 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWeight; API declaration: W400 Differences: W400 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWeight; API declaration: W500 Differences: W500 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWeight; API declaration: W600 Differences: W600 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWeight; API declaration: W700 Differences: W700 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWeight; API declaration: W800 Differences: W800 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWeight; API declaration: W900 Differences: W900 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum FontStyle Differences: enum FontStyle | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontStyle; API declaration: NORMAL Differences: NORMAL | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontStyle; API declaration: ITALIC Differences: ITALIC | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontStyle; API declaration: OBLIQUE Differences: OBLIQUE | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum FontWidth Differences: enum FontWidth | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWidth; API declaration: ULTRA_CONDENSED = 1 Differences: ULTRA_CONDENSED = 1 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWidth; API declaration: EXTRA_CONDENSED = 2 Differences: EXTRA_CONDENSED = 2 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWidth; API declaration: CONDENSED = 3 Differences: CONDENSED = 3 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWidth; API declaration: SEMI_CONDENSED = 4 Differences: SEMI_CONDENSED = 4 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWidth; API declaration: NORMAL = 5 Differences: NORMAL = 5 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWidth; API declaration: SEMI_EXPANDED = 6 Differences: SEMI_EXPANDED = 6 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWidth; API declaration: EXPANDED = 7 Differences: EXPANDED = 7 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWidth; API declaration: EXTRA_EXPANDED = 8 Differences: EXTRA_EXPANDED = 8 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontWidth; API declaration: ULTRA_EXPANDED = 9 Differences: ULTRA_EXPANDED = 9 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum TextHeightBehavior Differences: enum TextHeightBehavior | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextHeightBehavior; API declaration: ALL = 0x0 Differences: ALL = 0x0 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextHeightBehavior; API declaration: DISABLE_FIRST_ASCENT = 0x1 Differences: DISABLE_FIRST_ASCENT = 0x1 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextHeightBehavior; API declaration: DISABLE_LAST_ASCENT = 0x2 Differences: DISABLE_LAST_ASCENT = 0x2 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextHeightBehavior; API declaration: DISABLE_ALL = 0x1 |0x2 Differences: DISABLE_ALL = 0x1 |0x2 | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum TextBaseline Differences: enum TextBaseline | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextBaseline; API declaration: ALPHABETIC Differences: ALPHABETIC | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextBaseline; API declaration: IDEOGRAPHIC Differences: IDEOGRAPHIC | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum EllipsisMode Differences: enum EllipsisMode | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: EllipsisMode; API declaration: START Differences: START | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: EllipsisMode; API declaration: MIDDLE Differences: MIDDLE | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: EllipsisMode; API declaration: END Differences: END | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface TextShadow Differences: interface TextShadow | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextShadow; API declaration: color?: common2D.Color; Differences: color?: common2D.Color; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextShadow; API declaration: point?: common2D.Point; Differences: point?: common2D.Point; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextShadow; API declaration: blurRadius?: number; Differences: blurRadius?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface RectStyle Differences: interface RectStyle | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectStyle; API declaration: color: common2D.Color; Differences: color: common2D.Color; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectStyle; API declaration: leftTopRadius: number; Differences: leftTopRadius: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectStyle; API declaration: rightTopRadius: number; Differences: rightTopRadius: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectStyle; API declaration: rightBottomRadius: number; Differences: rightBottomRadius: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectStyle; API declaration: leftBottomRadius: number; Differences: leftBottomRadius: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface FontFeature Differences: interface FontFeature | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontFeature; API declaration: name: string; Differences: name: string; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontFeature; API declaration: value: number; Differences: value: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface FontVariation Differences: interface FontVariation | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontVariation; API declaration: axis: string; Differences: axis: string; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontVariation; API declaration: value: number; Differences: value: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface TextStyle Differences: interface TextStyle | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: decoration?: Decoration; Differences: decoration?: Decoration; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: color?: common2D.Color; Differences: color?: common2D.Color; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: fontWeight?: FontWeight; Differences: fontWeight?: FontWeight; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: fontStyle?: FontStyle; Differences: fontStyle?: FontStyle; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: baseline?: TextBaseline; Differences: baseline?: TextBaseline; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: fontFamilies?: Array<string>; Differences: fontFamilies?: Array<string>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: fontSize?: number; Differences: fontSize?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: letterSpacing?: number; Differences: letterSpacing?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: wordSpacing?: number; Differences: wordSpacing?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: heightScale?: number; Differences: heightScale?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: halfLeading?: boolean; Differences: halfLeading?: boolean; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: heightOnly?: boolean; Differences: heightOnly?: boolean; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: ellipsis?: string; Differences: ellipsis?: string; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: ellipsisMode?: EllipsisMode; Differences: ellipsisMode?: EllipsisMode; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: locale?: string; Differences: locale?: string; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: baselineShift?: number; Differences: baselineShift?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: fontFeatures?: Array<FontFeature>; Differences: fontFeatures?: Array<FontFeature>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: textShadows?: Array<TextShadow>; Differences: textShadows?: Array<TextShadow>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: backgroundRect?: RectStyle; Differences: backgroundRect?: RectStyle; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextStyle; API declaration: fontVariations?: Array<FontVariation>; Differences: fontVariations?: Array<FontVariation>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: class FontCollection Differences: class FontCollection | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontCollection; API declaration: static getGlobalInstance(): FontCollection; Differences: static getGlobalInstance(): FontCollection; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontCollection; API declaration: loadFontSync(name: string, path: string |Resource): void; Differences: loadFontSync(name: string, path: string |Resource): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: FontCollection; API declaration: clearCaches(): void; Differences: clearCaches(): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface StrutStyle Differences: interface StrutStyle | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: fontFamilies?: Array<string>; Differences: fontFamilies?: Array<string>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: fontStyle?: FontStyle; Differences: fontStyle?: FontStyle; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: fontWidth?: FontWidth; Differences: fontWidth?: FontWidth; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: fontWeight?: FontWeight; Differences: fontWeight?: FontWeight; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: fontSize?: number; Differences: fontSize?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: height?: number; Differences: height?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: leading?: number; Differences: leading?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: forceHeight?: boolean; Differences: forceHeight?: boolean; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: enabled?: boolean; Differences: enabled?: boolean; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: heightOverride?: boolean; Differences: heightOverride?: boolean; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: StrutStyle; API declaration: halfLeading?: boolean; Differences: halfLeading?: boolean; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface ParagraphStyle Differences: interface ParagraphStyle | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphStyle; API declaration: textStyle?: TextStyle; Differences: textStyle?: TextStyle; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphStyle; API declaration: textDirection?: TextDirection; Differences: textDirection?: TextDirection; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphStyle; API declaration: align?: TextAlign; Differences: align?: TextAlign; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphStyle; API declaration: wordBreak?: WordBreak; Differences: wordBreak?: WordBreak; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphStyle; API declaration: maxLines?: number; Differences: maxLines?: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphStyle; API declaration: breakStrategy?: BreakStrategy; Differences: breakStrategy?: BreakStrategy; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphStyle; API declaration: strutStyle?: StrutStyle; Differences: strutStyle?: StrutStyle; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphStyle; API declaration: textHeightBehavior?: TextHeightBehavior; Differences: textHeightBehavior?: TextHeightBehavior; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum PlaceholderAlignment Differences: enum PlaceholderAlignment | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderAlignment; API declaration: OFFSET_AT_BASELINE Differences: OFFSET_AT_BASELINE | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderAlignment; API declaration: ABOVE_BASELINE Differences: ABOVE_BASELINE | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderAlignment; API declaration: BELOW_BASELINE Differences: BELOW_BASELINE | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderAlignment; API declaration: TOP_OF_ROW_BOX Differences: TOP_OF_ROW_BOX | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderAlignment; API declaration: BOTTOM_OF_ROW_BOX Differences: BOTTOM_OF_ROW_BOX | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderAlignment; API declaration: CENTER_OF_ROW_BOX Differences: CENTER_OF_ROW_BOX | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface PlaceholderSpan Differences: interface PlaceholderSpan | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderSpan; API declaration: width: number; Differences: width: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderSpan; API declaration: height: number; Differences: height: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderSpan; API declaration: align: PlaceholderAlignment; Differences: align: PlaceholderAlignment; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderSpan; API declaration: baseline: TextBaseline; Differences: baseline: TextBaseline; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PlaceholderSpan; API declaration: baselineOffset: number; Differences: baselineOffset: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface Range Differences: interface Range | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Range; API declaration: start: number; Differences: start: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Range; API declaration: end: number; Differences: end: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: class Paragraph Differences: class Paragraph | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: layoutSync(width: number): void; Differences: layoutSync(width: number): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: paint(canvas: drawing.Canvas, x: number, y: number): void; Differences: paint(canvas: drawing.Canvas, x: number, y: number): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: paintOnPath(canvas: drawing.Canvas, path: drawing.Path, hOffset: number, vOffset: number): void; Differences: paintOnPath(canvas: drawing.Canvas, path: drawing.Path, hOffset: number, vOffset: number): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getMaxWidth(): number; Differences: getMaxWidth(): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getHeight(): number; Differences: getHeight(): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getLongestLine(): number; Differences: getLongestLine(): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getMinIntrinsicWidth(): number; Differences: getMinIntrinsicWidth(): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getMaxIntrinsicWidth(): number; Differences: getMaxIntrinsicWidth(): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getAlphabeticBaseline(): number; Differences: getAlphabeticBaseline(): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getIdeographicBaseline(): number; Differences: getIdeographicBaseline(): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getRectsForRange(range: Range, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array<TextBox>; Differences: getRectsForRange(range: Range, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array<TextBox>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getRectsForPlaceholders(): Array<TextBox>; Differences: getRectsForPlaceholders(): Array<TextBox>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getGlyphPositionAtCoordinate(x: number, y: number): PositionWithAffinity; Differences: getGlyphPositionAtCoordinate(x: number, y: number): PositionWithAffinity; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getWordBoundary(offset: number): Range; Differences: getWordBoundary(offset: number): Range; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getLineCount(): number; Differences: getLineCount(): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getLineHeight(line: number): number; Differences: getLineHeight(line: number): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getLineWidth(line: number): number; Differences: getLineWidth(line: number): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: didExceedMaxLines(): boolean; Differences: didExceedMaxLines(): boolean; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getTextLines(): Array<TextLine>; Differences: getTextLines(): Array<TextLine>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getActualTextRange(lineNumber: number, includeSpaces: boolean): Range; Differences: getActualTextRange(lineNumber: number, includeSpaces: boolean): Range; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getLineMetrics(): Array<LineMetrics>; Differences: getLineMetrics(): Array<LineMetrics>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Paragraph; API declaration: getLineMetrics(lineNumber: number): LineMetrics |undefined; Differences: getLineMetrics(lineNumber: number): LineMetrics |undefined; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface TextBox Differences: interface TextBox | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextBox; API declaration: rect: common2D.Rect; Differences: rect: common2D.Rect; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextBox; API declaration: direction: TextDirection; Differences: direction: TextDirection; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface PositionWithAffinity Differences: interface PositionWithAffinity | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PositionWithAffinity; API declaration: position: number; Differences: position: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: PositionWithAffinity; API declaration: affinity: Affinity; Differences: affinity: Affinity; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum RectWidthStyle Differences: enum RectWidthStyle | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectWidthStyle; API declaration: TIGHT Differences: TIGHT | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectWidthStyle; API declaration: MAX Differences: MAX | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum RectHeightStyle Differences: enum RectHeightStyle | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectHeightStyle; API declaration: TIGHT Differences: TIGHT | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectHeightStyle; API declaration: MAX Differences: MAX | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectHeightStyle; API declaration: INCLUDE_LINE_SPACE_MIDDLE Differences: INCLUDE_LINE_SPACE_MIDDLE | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectHeightStyle; API declaration: INCLUDE_LINE_SPACE_TOP Differences: INCLUDE_LINE_SPACE_TOP | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectHeightStyle; API declaration: INCLUDE_LINE_SPACE_BOTTOM Differences: INCLUDE_LINE_SPACE_BOTTOM | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RectHeightStyle; API declaration: STRUT Differences: STRUT | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: enum Affinity Differences: enum Affinity | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Affinity; API declaration: UPSTREAM Differences: UPSTREAM | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Affinity; API declaration: DOWNSTREAM Differences: DOWNSTREAM | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: class ParagraphBuilder Differences: class ParagraphBuilder | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphBuilder; API declaration: pushStyle(textStyle: TextStyle): void; Differences: pushStyle(textStyle: TextStyle): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphBuilder; API declaration: popStyle(): void; Differences: popStyle(): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphBuilder; API declaration: addText(text: string): void; Differences: addText(text: string): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphBuilder; API declaration: addPlaceholder(placeholderSpan: PlaceholderSpan): void; Differences: addPlaceholder(placeholderSpan: PlaceholderSpan): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphBuilder; API declaration: build(): Paragraph; Differences: build(): Paragraph; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: ParagraphBuilder; API declaration: addSymbol(symbolId: number): void; Differences: addSymbol(symbolId: number): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: class TextLine Differences: class TextLine | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextLine; API declaration: getGlyphCount(): number; Differences: getGlyphCount(): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextLine; API declaration: getTextRange(): Range; Differences: getTextRange(): Range; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextLine; API declaration: getGlyphRuns(): Array<Run>; Differences: getGlyphRuns(): Array<Run>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: TextLine; API declaration: paint(canvas: drawing.Canvas, x: number, y: number): void; Differences: paint(canvas: drawing.Canvas, x: number, y: number): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: class Run Differences: class Run | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Run; API declaration: getGlyphCount(): number; Differences: getGlyphCount(): number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Run; API declaration: getGlyphs(): Array<number>; Differences: getGlyphs(): Array<number>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Run; API declaration: getPositions(): Array<common2D.Point>; Differences: getPositions(): Array<common2D.Point>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Run; API declaration: getOffsets(): Array<common2D.Point>; Differences: getOffsets(): Array<common2D.Point>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Run; API declaration: getFont(): drawing.Font; Differences: getFont(): drawing.Font; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: Run; API declaration: paint(canvas: drawing.Canvas, x: number, y: number): void; Differences: paint(canvas: drawing.Canvas, x: number, y: number): void; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface RunMetrics Differences: interface RunMetrics | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RunMetrics; API declaration: textStyle: TextStyle; Differences: textStyle: TextStyle; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: RunMetrics; API declaration: fontMetrics: drawing.FontMetrics; Differences: fontMetrics: drawing.FontMetrics; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: text; API declaration: interface LineMetrics Differences: interface LineMetrics | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: startIndex: number; Differences: startIndex: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: endIndex: number; Differences: endIndex: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: ascent: number; Differences: ascent: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: descent: number; Differences: descent: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: height: number; Differences: height: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: width: number; Differences: width: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: left: number; Differences: left: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: baseline: number; Differences: baseline: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: lineNumber: number; Differences: lineNumber: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: topHeight: number; Differences: topHeight: number; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: LineMetrics; API declaration: runMetrics: Map<number, RunMetrics>; Differences: runMetrics: Map<number, RunMetrics>; | api/@ohos.graphics.text.d.ts |
| New API | NA | Class name: global; API declaration: declare namespace uiEffect Differences: declare namespace uiEffect | api/@ohos.graphics.uiEffect.d.ts |
| New API | NA | Class name: uiEffect; API declaration: interface Filter Differences: interface Filter | api/@ohos.graphics.uiEffect.d.ts |
| New API | NA | Class name: Filter; API declaration: blur(blurRadius: number): Filter; Differences: blur(blurRadius: number): Filter; | api/@ohos.graphics.uiEffect.d.ts |
| New API | NA | Class name: uiEffect; API declaration: interface VisualEffect Differences: interface VisualEffect | api/@ohos.graphics.uiEffect.d.ts |
| New API | NA | Class name: uiEffect; API declaration: function createFilter(): Filter; Differences: function createFilter(): Filter; | api/@ohos.graphics.uiEffect.d.ts |
| New API | NA | Class name: uiEffect; API declaration: function createEffect(): VisualEffect; Differences: function createEffect(): VisualEffect; | api/@ohos.graphics.uiEffect.d.ts |
| New API | NA | Class name: Filter; API declaration: invert(): Filter; Differences: invert(): Filter; | api/@ohos.effectKit.d.ts |
| New API | NA | Class name: Filter; API declaration: setColorMatrix(colorMatrix: Array<number>): Filter; Differences: setColorMatrix(colorMatrix: Array<number>): Filter; | api/@ohos.effectKit.d.ts |
| New API | NA | Class name: ColorPicker; API declaration: getTopProportionColors(colorCount: number): Array<Color |null>; Differences: getTopProportionColors(colorCount: number): Array<Color |null>; | api/@ohos.effectKit.d.ts |
| Kit change | ArkGraphics 2D | ArkGraphics2D | api/@ohos.graphics.common2D.d.ts |
| Kit change | ArkGraphics 2D | ArkGraphics2D | api/@ohos.graphics.drawing.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.graphics.sendableColorSpaceManager.d.ets Differences: ArkGraphics2D | api/@ohos.graphics.sendableColorSpaceManager.d.ets |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.graphics.text.d.ts Differences: ArkGraphics2D | api/@ohos.graphics.text.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.graphics.uiEffect.d.ts Differences: ArkGraphics2D | api/@ohos.graphics.uiEffect.d.ts |
| New support for atomic services | Class name: global; API declaration: declare namespace effectKit Differences: NA | Class name: global; API declaration: declare namespace effectKit Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: effectKit; API declaration: interface Filter Differences: NA | Class name: effectKit; API declaration: interface Filter Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: Filter; API declaration: blur(radius: number): Filter; Differences: NA | Class name: Filter; API declaration: blur(radius: number): Filter; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: Filter; API declaration: brightness(bright: number): Filter; Differences: NA | Class name: Filter; API declaration: brightness(bright: number): Filter; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: Filter; API declaration: grayscale(): Filter; Differences: NA | Class name: Filter; API declaration: grayscale(): Filter; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: Filter; API declaration: getEffectPixelMap(): Promise<image.PixelMap>; Differences: NA | Class name: Filter; API declaration: getEffectPixelMap(): Promise<image.PixelMap>; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: effectKit; API declaration: interface ColorPicker Differences: NA | Class name: effectKit; API declaration: interface ColorPicker Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: ColorPicker; API declaration: getMainColor(): Promise<Color>; Differences: NA | Class name: ColorPicker; API declaration: getMainColor(): Promise<Color>; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: ColorPicker; API declaration: getMainColorSync(): Color; Differences: NA | Class name: ColorPicker; API declaration: getMainColorSync(): Color; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: ColorPicker; API declaration: getLargestProportionColor(): Color; Differences: NA | Class name: ColorPicker; API declaration: getLargestProportionColor(): Color; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: ColorPicker; API declaration: getHighestSaturationColor(): Color; Differences: NA | Class name: ColorPicker; API declaration: getHighestSaturationColor(): Color; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: ColorPicker; API declaration: getAverageColor(): Color; Differences: NA | Class name: ColorPicker; API declaration: getAverageColor(): Color; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: ColorPicker; API declaration: isBlackOrWhiteOrGrayColor(color: number): boolean; Differences: NA | Class name: ColorPicker; API declaration: isBlackOrWhiteOrGrayColor(color: number): boolean; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: effectKit; API declaration: interface Color Differences: NA | Class name: effectKit; API declaration: interface Color Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: Color; API declaration: red: number; Differences: NA | Class name: Color; API declaration: red: number; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: Color; API declaration: green: number; Differences: NA | Class name: Color; API declaration: green: number; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: Color; API declaration: blue: number; Differences: NA | Class name: Color; API declaration: blue: number; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: Color; API declaration: alpha: number; Differences: NA | Class name: Color; API declaration: alpha: number; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: effectKit; API declaration: function createEffect(source: image.PixelMap): Filter; Differences: NA | Class name: effectKit; API declaration: function createEffect(source: image.PixelMap): Filter; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap): Promise<ColorPicker>; Differences: NA | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap): Promise<ColorPicker>; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, region: Array<number>): Promise<ColorPicker>; Differences: NA | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, region: Array<number>): Promise<ColorPicker>; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, callback: AsyncCallback<ColorPicker>): void; Differences: NA | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, callback: AsyncCallback<ColorPicker>): void; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, region: Array<number>, callback: AsyncCallback<ColorPicker>): void; Differences: NA | Class name: effectKit; API declaration: function createColorPicker(source: image.PixelMap, region: Array<number>, callback: AsyncCallback<ColorPicker>): void; Differences: atomicservice | api/@ohos.effectKit.d.ts |
| New support for atomic services | Class name: global; API declaration: declare namespace colorSpaceManager Differences: NA | Class name: global; API declaration: declare namespace colorSpaceManager Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: colorSpaceManager; API declaration: enum ColorSpace Differences: NA | Class name: colorSpaceManager; API declaration: enum ColorSpace Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: UNKNOWN = 0 Differences: NA | Class name: ColorSpace; API declaration: UNKNOWN = 0 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: ADOBE_RGB_1998 = 1 Differences: NA | Class name: ColorSpace; API declaration: ADOBE_RGB_1998 = 1 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: DCI_P3 = 2 Differences: NA | Class name: ColorSpace; API declaration: DCI_P3 = 2 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: DISPLAY_P3 = 3 Differences: NA | Class name: ColorSpace; API declaration: DISPLAY_P3 = 3 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: SRGB = 4 Differences: NA | Class name: ColorSpace; API declaration: SRGB = 4 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: BT709 = 6 Differences: NA | Class name: ColorSpace; API declaration: BT709 = 6 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: BT601_EBU = 7 Differences: NA | Class name: ColorSpace; API declaration: BT601_EBU = 7 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: BT601_SMPTE_C = 8 Differences: NA | Class name: ColorSpace; API declaration: BT601_SMPTE_C = 8 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: BT2020_HLG = 9 Differences: NA | Class name: ColorSpace; API declaration: BT2020_HLG = 9 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: BT2020_PQ = 10 Differences: NA | Class name: ColorSpace; API declaration: BT2020_PQ = 10 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: P3_HLG = 11 Differences: NA | Class name: ColorSpace; API declaration: P3_HLG = 11 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: P3_PQ = 12 Differences: NA | Class name: ColorSpace; API declaration: P3_PQ = 12 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: ADOBE_RGB_1998_LIMIT = 13 Differences: NA | Class name: ColorSpace; API declaration: ADOBE_RGB_1998_LIMIT = 13 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: DISPLAY_P3_LIMIT = 14 Differences: NA | Class name: ColorSpace; API declaration: DISPLAY_P3_LIMIT = 14 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: SRGB_LIMIT = 15 Differences: NA | Class name: ColorSpace; API declaration: SRGB_LIMIT = 15 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: BT709_LIMIT = 16 Differences: NA | Class name: ColorSpace; API declaration: BT709_LIMIT = 16 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: BT601_EBU_LIMIT = 17 Differences: NA | Class name: ColorSpace; API declaration: BT601_EBU_LIMIT = 17 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: BT601_SMPTE_C_LIMIT = 18 Differences: NA | Class name: ColorSpace; API declaration: BT601_SMPTE_C_LIMIT = 18 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: BT2020_HLG_LIMIT = 19 Differences: NA | Class name: ColorSpace; API declaration: BT2020_HLG_LIMIT = 19 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: BT2020_PQ_LIMIT = 20 Differences: NA | Class name: ColorSpace; API declaration: BT2020_PQ_LIMIT = 20 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: P3_HLG_LIMIT = 21 Differences: NA | Class name: ColorSpace; API declaration: P3_HLG_LIMIT = 21 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: P3_PQ_LIMIT = 22 Differences: NA | Class name: ColorSpace; API declaration: P3_PQ_LIMIT = 22 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: LINEAR_P3 = 23 Differences: NA | Class name: ColorSpace; API declaration: LINEAR_P3 = 23 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: LINEAR_SRGB = 24 Differences: NA | Class name: ColorSpace; API declaration: LINEAR_SRGB = 24 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: LINEAR_BT709 = LINEAR_SRGB Differences: NA | Class name: ColorSpace; API declaration: LINEAR_BT709 = LINEAR_SRGB Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: LINEAR_BT2020 = 25 Differences: NA | Class name: ColorSpace; API declaration: LINEAR_BT2020 = 25 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: DISPLAY_SRGB = SRGB Differences: NA | Class name: ColorSpace; API declaration: DISPLAY_SRGB = SRGB Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: DISPLAY_P3_SRGB = DISPLAY_P3 Differences: NA | Class name: ColorSpace; API declaration: DISPLAY_P3_SRGB = DISPLAY_P3 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: DISPLAY_P3_HLG = P3_HLG Differences: NA | Class name: ColorSpace; API declaration: DISPLAY_P3_HLG = P3_HLG Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: DISPLAY_P3_PQ = P3_PQ Differences: NA | Class name: ColorSpace; API declaration: DISPLAY_P3_PQ = P3_PQ Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: ColorSpace; API declaration: CUSTOM = 5 Differences: NA | Class name: ColorSpace; API declaration: CUSTOM = 5 Differences: atomicservice | api/@ohos.graphics.colorSpaceManager.d.ts |
| New support for atomic services | Class name: global; API declaration: declare namespace hdrCapability Differences: NA | Class name: global; API declaration: declare namespace hdrCapability Differences: atomicservice | api/@ohos.graphics.hdrCapability.d.ts |
| New support for atomic services | Class name: hdrCapability; API declaration: enum HDRFormat Differences: NA | Class name: hdrCapability; API declaration: enum HDRFormat Differences: atomicservice | api/@ohos.graphics.hdrCapability.d.ts |
| New support for atomic services | Class name: HDRFormat; API declaration: NONE = 0 Differences: NA | Class name: HDRFormat; API declaration: NONE = 0 Differences: atomicservice | api/@ohos.graphics.hdrCapability.d.ts |
| New support for atomic services | Class name: HDRFormat; API declaration: VIDEO_HLG = 1 Differences: NA | Class name: HDRFormat; API declaration: VIDEO_HLG = 1 Differences: atomicservice | api/@ohos.graphics.hdrCapability.d.ts |
| New support for atomic services | Class name: HDRFormat; API declaration: VIDEO_HDR10 = 2 Differences: NA | Class name: HDRFormat; API declaration: VIDEO_HDR10 = 2 Differences: atomicservice | api/@ohos.graphics.hdrCapability.d.ts |
| New support for atomic services | Class name: HDRFormat; API declaration: VIDEO_HDR_VIVID = 3 Differences: NA | Class name: HDRFormat; API declaration: VIDEO_HDR_VIVID = 3 Differences: atomicservice | api/@ohos.graphics.hdrCapability.d.ts |
| New support for atomic services | Class name: HDRFormat; API declaration: IMAGE_HDR_VIVID_DUAL = 4 Differences: NA | Class name: HDRFormat; API declaration: IMAGE_HDR_VIVID_DUAL = 4 Differences: atomicservice | api/@ohos.graphics.hdrCapability.d.ts |
| New support for atomic services | Class name: HDRFormat; API declaration: IMAGE_HDR_VIVID_SINGLE = 5 Differences: NA | Class name: HDRFormat; API declaration: IMAGE_HDR_VIVID_SINGLE = 5 Differences: atomicservice | api/@ohos.graphics.hdrCapability.d.ts |
| New support for atomic services | Class name: HDRFormat; API declaration: IMAGE_HDR_ISO_DUAL = 6 Differences: NA | Class name: HDRFormat; API declaration: IMAGE_HDR_ISO_DUAL = 6 Differences: atomicservice | api/@ohos.graphics.hdrCapability.d.ts |
| New support for atomic services | Class name: HDRFormat; API declaration: IMAGE_HDR_ISO_SINGLE = 7 Differences: NA | Class name: HDRFormat; API declaration: IMAGE_HDR_ISO_SINGLE = 7 Differences: atomicservice | api/@ohos.graphics.hdrCapability.d.ts |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apidiff-ArkGraphics3D
openharmony 鸿蒙 js-apidiff-MediaKit
openharmony 鸿蒙 js-apidiff-InputKit
openharmony 鸿蒙 js-apidiff-BasicServicesKit
openharmony 鸿蒙 js-apidiff-ConnectivityKit
openharmony 鸿蒙 js-apidiff-ArkWeb
openharmony 鸿蒙 js-apidiff-ArkData