openharmony 鸿蒙 js-apidiff-ArkGraphics2D

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
New APINAClass name: global;
API declaration: declare namespace effectKit
Differences: declare namespace effectKit
api/@ohos.effectKit.d.ts
New APINAClass name: effectKit;
API declaration: interface Filter
Differences: interface Filter
api/@ohos.effectKit.d.ts
New APINAClass name: Filter;
API declaration: blur(radius: number): Filter;
Differences: blur(radius: number): Filter;
api/@ohos.effectKit.d.ts
New APINAClass name: Filter;
API declaration: brightness(bright: number): Filter;
Differences: brightness(bright: number): Filter;
api/@ohos.effectKit.d.ts
New APINAClass name: Filter;
API declaration: grayscale(): Filter;
Differences: grayscale(): Filter;
api/@ohos.effectKit.d.ts
New APINAClass name: Filter;
API declaration: getPixelMap(): image.PixelMap;
Differences: getPixelMap(): image.PixelMap;
api/@ohos.effectKit.d.ts
New APINAClass name: Filter;
API declaration: getEffectPixelMap(): Promise<image.PixelMap>;
Differences: getEffectPixelMap(): Promise<image.PixelMap>;
api/@ohos.effectKit.d.ts
New APINAClass name: effectKit;
API declaration: interface ColorPicker
Differences: interface ColorPicker
api/@ohos.effectKit.d.ts
New APINAClass name: ColorPicker;
API declaration: getMainColor(): Promise<Color>;
Differences: getMainColor(): Promise<Color>;
api/@ohos.effectKit.d.ts
New APINAClass name: ColorPicker;
API declaration: getMainColorSync(): Color;
Differences: getMainColorSync(): Color;
api/@ohos.effectKit.d.ts
New APINAClass name: ColorPicker;
API declaration: getLargestProportionColor(): Color;
Differences: getLargestProportionColor(): Color;
api/@ohos.effectKit.d.ts
New APINAClass name: ColorPicker;
API declaration: getHighestSaturationColor(): Color;
Differences: getHighestSaturationColor(): Color;
api/@ohos.effectKit.d.ts
New APINAClass name: ColorPicker;
API declaration: getAverageColor(): Color;
Differences: getAverageColor(): Color;
api/@ohos.effectKit.d.ts
New APINAClass name: ColorPicker;
API declaration: isBlackOrWhiteOrGrayColor(color: number): boolean;
Differences: isBlackOrWhiteOrGrayColor(color: number): boolean;
api/@ohos.effectKit.d.ts
New APINAClass name: effectKit;
API declaration: interface Color
Differences: interface Color
api/@ohos.effectKit.d.ts
New APINAClass name: Color;
API declaration: red: number;
Differences: red: number;
api/@ohos.effectKit.d.ts
New APINAClass name: Color;
API declaration: green: number;
Differences: green: number;
api/@ohos.effectKit.d.ts
New APINAClass name: Color;
API declaration: blue: number;
Differences: blue: number;
api/@ohos.effectKit.d.ts
New APINAClass name: Color;
API declaration: alpha: number;
Differences: alpha: number;
api/@ohos.effectKit.d.ts
New APINAClass name: effectKit;
API declaration: function createEffect(source: image.PixelMap): Filter;
Differences: function createEffect(source: image.PixelMap): Filter;
api/@ohos.effectKit.d.ts
New APINAClass name: effectKit;
API declaration: function createColorPicker(source: image.PixelMap): Promise<ColorPicker>;
Differences: function createColorPicker(source: image.PixelMap): Promise<ColorPicker>;
api/@ohos.effectKit.d.ts
New APINAClass name: effectKit;
API declaration: function createColorPicker(source: image.PixelMap, region: Array<number>): Promise<ColorPicker>;
Differences: function createColorPicker(source: image.PixelMap, region: Array<number>): Promise<ColorPicker>;
api/@ohos.effectKit.d.ts
New APINAClass name: effectKit;
API declaration: function createColorPicker(source: image.PixelMap, callback: AsyncCallback<ColorPicker>): void;
Differences: function createColorPicker(source: image.PixelMap, callback: AsyncCallback<ColorPicker>): void;
api/@ohos.effectKit.d.ts
New APINAClass name: effectKit;
API declaration: function createColorPicker(source: image.PixelMap, region: Array<number>, callback: AsyncCallback<ColorPicker>): void;
Differences: function createColorPicker(source: image.PixelMap, region: Array<number>, callback: AsyncCallback<ColorPicker>): void;
api/@ohos.effectKit.d.ts
New APINAClass name: global;
API declaration: declare namespace colorSpaceManager
Differences: declare namespace colorSpaceManager
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: colorSpaceManager;
API declaration: enum ColorSpace
Differences: enum ColorSpace
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: UNKNOWN = 0
Differences: UNKNOWN = 0
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: ADOBE_RGB_1998 = 1
Differences: ADOBE_RGB_1998 = 1
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: DCI_P3 = 2
Differences: DCI_P3 = 2
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: DISPLAY_P3 = 3
Differences: DISPLAY_P3 = 3
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: SRGB = 4
Differences: SRGB = 4
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: BT709 = 6
Differences: BT709 = 6
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: BT601_EBU = 7
Differences: BT601_EBU = 7
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: BT601_SMPTE_C = 8
Differences: BT601_SMPTE_C = 8
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: BT2020_HLG = 9
Differences: BT2020_HLG = 9
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: BT2020_PQ = 10
Differences: BT2020_PQ = 10
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: P3_HLG = 11
Differences: P3_HLG = 11
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: P3_PQ = 12
Differences: P3_PQ = 12
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: ADOBE_RGB_1998_LIMIT = 13
Differences: ADOBE_RGB_1998_LIMIT = 13
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: DISPLAY_P3_LIMIT = 14
Differences: DISPLAY_P3_LIMIT = 14
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: SRGB_LIMIT = 15
Differences: SRGB_LIMIT = 15
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: BT709_LIMIT = 16
Differences: BT709_LIMIT = 16
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: BT601_EBU_LIMIT = 17
Differences: BT601_EBU_LIMIT = 17
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: BT601_SMPTE_C_LIMIT = 18
Differences: BT601_SMPTE_C_LIMIT = 18
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: BT2020_HLG_LIMIT = 19
Differences: BT2020_HLG_LIMIT = 19
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: BT2020_PQ_LIMIT = 20
Differences: BT2020_PQ_LIMIT = 20
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: P3_HLG_LIMIT = 21
Differences: P3_HLG_LIMIT = 21
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: P3_PQ_LIMIT = 22
Differences: P3_PQ_LIMIT = 22
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: LINEAR_P3 = 23
Differences: LINEAR_P3 = 23
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: LINEAR_SRGB = 24
Differences: LINEAR_SRGB = 24
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: LINEAR_BT709 = LINEAR_SRGB
Differences: LINEAR_BT709 = LINEAR_SRGB
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: LINEAR_BT2020 = 25
Differences: LINEAR_BT2020 = 25
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: DISPLAY_SRGB = SRGB
Differences: DISPLAY_SRGB = SRGB
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: DISPLAY_P3_SRGB = DISPLAY_P3
Differences: DISPLAY_P3_SRGB = DISPLAY_P3
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: DISPLAY_P3_HLG = P3_HLG
Differences: DISPLAY_P3_HLG = P3_HLG
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: DISPLAY_P3_PQ = P3_PQ
Differences: DISPLAY_P3_PQ = P3_PQ
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpace;
API declaration: CUSTOM = 5
Differences: CUSTOM = 5
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: colorSpaceManager;
API declaration: interface ColorSpacePrimaries
Differences: interface ColorSpacePrimaries
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpacePrimaries;
API declaration: redX: number;
Differences: redX: number;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpacePrimaries;
API declaration: redY: number;
Differences: redY: number;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpacePrimaries;
API declaration: greenX: number;
Differences: greenX: number;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpacePrimaries;
API declaration: greenY: number;
Differences: greenY: number;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpacePrimaries;
API declaration: blueX: number;
Differences: blueX: number;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpacePrimaries;
API declaration: blueY: number;
Differences: blueY: number;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpacePrimaries;
API declaration: whitePointX: number;
Differences: whitePointX: number;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpacePrimaries;
API declaration: whitePointY: number;
Differences: whitePointY: number;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: colorSpaceManager;
API declaration: interface ColorSpaceManager
Differences: interface ColorSpaceManager
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpaceManager;
API declaration: getColorSpaceName(): ColorSpace;
Differences: getColorSpaceName(): ColorSpace;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpaceManager;
API declaration: getWhitePoint(): Array<number>;
Differences: getWhitePoint(): Array<number>;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: ColorSpaceManager;
API declaration: getGamma(): number;
Differences: getGamma(): number;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: colorSpaceManager;
API declaration: function create(colorSpaceName: ColorSpace): ColorSpaceManager;
Differences: function create(colorSpaceName: ColorSpace): ColorSpaceManager;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: colorSpaceManager;
API declaration: function create(primaries: ColorSpacePrimaries, gamma: number): ColorSpaceManager;
Differences: function create(primaries: ColorSpacePrimaries, gamma: number): ColorSpaceManager;
api/@ohos.graphics.colorSpaceManager.d.ts
New APINAClass name: global;
API declaration: declare namespace displaySync
Differences: declare namespace displaySync
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: displaySync;
API declaration: interface IntervalInfo
Differences: interface IntervalInfo
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: IntervalInfo;
API declaration: timestamp: number;
Differences: timestamp: number;
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: IntervalInfo;
API declaration: targetTimestamp: number;
Differences: targetTimestamp: number;
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: displaySync;
API declaration: interface DisplaySync
Differences: interface DisplaySync
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: DisplaySync;
API declaration: setExpectedFrameRateRange(rateRange: ExpectedFrameRateRange): void;
Differences: setExpectedFrameRateRange(rateRange: ExpectedFrameRateRange): void;
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: DisplaySync;
API declaration: on(type: 'frame', callback: Callback<IntervalInfo>): void;
Differences: on(type: 'frame', callback: Callback<IntervalInfo>): void;
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: DisplaySync;
API declaration: off(type: 'frame', callback?: Callback<IntervalInfo>): void;
Differences: off(type: 'frame', callback?: Callback<IntervalInfo>): void;
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: DisplaySync;
API declaration: start(): void;
Differences: start(): void;
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: DisplaySync;
API declaration: stop(): void;
Differences: stop(): void;
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: displaySync;
API declaration: function create(): DisplaySync;
Differences: function create(): DisplaySync;
api/@ohos.graphics.displaySync.d.ts
New APINAClass name: global;
API declaration: declare namespace hdrCapability
Differences: declare namespace hdrCapability
api/@ohos.graphics.hdrCapability.d.ts
New APINAClass name: hdrCapability;
API declaration: enum HDRFormat
Differences: enum HDRFormat
api/@ohos.graphics.hdrCapability.d.ts
New APINAClass name: HDRFormat;
API declaration: NONE = 0
Differences: NONE = 0
api/@ohos.graphics.hdrCapability.d.ts
New APINAClass name: HDRFormat;
API declaration: VIDEO_HLG = 1
Differences: VIDEO_HLG = 1
api/@ohos.graphics.hdrCapability.d.ts
New APINAClass name: HDRFormat;
API declaration: VIDEO_HDR10 = 2
Differences: VIDEO_HDR10 = 2
api/@ohos.graphics.hdrCapability.d.ts
New APINAClass name: HDRFormat;
API declaration: VIDEO_HDR_VIVID = 3
Differences: VIDEO_HDR_VIVID = 3
api/@ohos.graphics.hdrCapability.d.ts
New APINAClass name: HDRFormat;
API declaration: IMAGE_HDR_VIVID_DUAL = 4
Differences: IMAGE_HDR_VIVID_DUAL = 4
api/@ohos.graphics.hdrCapability.d.ts
New APINAClass name: HDRFormat;
API declaration: IMAGE_HDR_VIVID_SINGLE = 5
Differences: IMAGE_HDR_VIVID_SINGLE = 5
api/@ohos.graphics.hdrCapability.d.ts
New APINAClass name: HDRFormat;
API declaration: IMAGE_HDR_ISO_DUAL = 6
Differences: IMAGE_HDR_ISO_DUAL = 6
api/@ohos.graphics.hdrCapability.d.ts
New APINAClass name: HDRFormat;
API declaration: IMAGE_HDR_ISO_SINGLE = 7
Differences: IMAGE_HDR_ISO_SINGLE = 7
api/@ohos.graphics.hdrCapability.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.effectKit.d.ts
Differences: ArkGraphics2D
api/@ohos.effectKit.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.graphics.colorSpaceManager.d.ts
Differences: ArkGraphics2D
api/@ohos.graphics.colorSpaceManager.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.graphics.displaySync.d.ts
Differences: ArkGraphics2D
api/@ohos.graphics.displaySync.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.graphics.hdrCapability.d.ts
Differences: ArkGraphics2D
api/@ohos.graphics.hdrCapability.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: kits@kit.ArkGraphics2D.d.ts
Differences: ArkGraphics2D
kits/@kit.ArkGraphics2D.d.ts
New APINAClass name: global;
API declaration: declare namespace common2D
Differences: declare namespace common2D
api/@ohos.graphics.common2D.d.ts
New APINAClass name: common2D;
API declaration: interface Color
Differences: interface Color
api/@ohos.graphics.common2D.d.ts
New APINAClass name: Color;
API declaration: alpha: number;
Differences: alpha: number;
api/@ohos.graphics.common2D.d.ts
New APINAClass name: Color;
API declaration: red: number;
Differences: red: number;
api/@ohos.graphics.common2D.d.ts
New APINAClass name: Color;
API declaration: green: number;
Differences: green: number;
api/@ohos.graphics.common2D.d.ts
New APINAClass name: Color;
API declaration: blue: number;
Differences: blue: number;
api/@ohos.graphics.common2D.d.ts
New APINAClass name: common2D;
API declaration: interface Rect
Differences: interface Rect
api/@ohos.graphics.common2D.d.ts
New APINAClass name: Rect;
API declaration: left: number;
Differences: left: number;
api/@ohos.graphics.common2D.d.ts
New APINAClass name: Rect;
API declaration: top: number;
Differences: top: number;
api/@ohos.graphics.common2D.d.ts
New APINAClass name: Rect;
API declaration: right: number;
Differences: right: number;
api/@ohos.graphics.common2D.d.ts
New APINAClass name: Rect;
API declaration: bottom: number;
Differences: bottom: number;
api/@ohos.graphics.common2D.d.ts
New APINAClass name: global;
API declaration: declare namespace drawing
Differences: declare namespace drawing
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: enum BlendMode
Differences: enum BlendMode
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: CLEAR = 0
Differences: CLEAR = 0
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: SRC = 1
Differences: SRC = 1
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: DST = 2
Differences: DST = 2
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: SRC_OVER = 3
Differences: SRC_OVER = 3
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: DST_OVER = 4
Differences: DST_OVER = 4
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: SRC_IN = 5
Differences: SRC_IN = 5
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: DST_IN = 6
Differences: DST_IN = 6
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: SRC_OUT = 7
Differences: SRC_OUT = 7
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: DST_OUT = 8
Differences: DST_OUT = 8
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: SRC_ATOP = 9
Differences: SRC_ATOP = 9
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: DST_ATOP = 10
Differences: DST_ATOP = 10
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: XOR = 11
Differences: XOR = 11
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: PLUS = 12
Differences: PLUS = 12
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: MODULATE = 13
Differences: MODULATE = 13
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: SCREEN = 14
Differences: SCREEN = 14
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: OVERLAY = 15
Differences: OVERLAY = 15
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: DARKEN = 16
Differences: DARKEN = 16
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: LIGHTEN = 17
Differences: LIGHTEN = 17
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: COLOR_DODGE = 18
Differences: COLOR_DODGE = 18
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: COLOR_BURN = 19
Differences: COLOR_BURN = 19
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: HARD_LIGHT = 20
Differences: HARD_LIGHT = 20
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: SOFT_LIGHT = 21
Differences: SOFT_LIGHT = 21
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: DIFFERENCE = 22
Differences: DIFFERENCE = 22
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: EXCLUSION = 23
Differences: EXCLUSION = 23
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: MULTIPLY = 24
Differences: MULTIPLY = 24
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: HUE = 25
Differences: HUE = 25
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: SATURATION = 26
Differences: SATURATION = 26
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: COLOR = 27
Differences: COLOR = 27
api/@ohos.graphics.drawing.d.ts
New APINAClass name: BlendMode;
API declaration: LUMINOSITY = 28
Differences: LUMINOSITY = 28
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: class Path
Differences: class Path
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Path;
API declaration: moveTo(x: number, y: number): void;
Differences: moveTo(x: number, y: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Path;
API declaration: lineTo(x: number, y: number): void;
Differences: lineTo(x: number, y: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Path;
API declaration: arcTo(x1: number, y1: number, x2: number, y2: number, startDeg: number, sweepDeg: number): void;
Differences: arcTo(x1: number, y1: number, x2: number, y2: number, startDeg: number, sweepDeg: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Path;
API declaration: quadTo(ctrlX: number, ctrlY: number, endX: number, endY: number): void;
Differences: quadTo(ctrlX: number, ctrlY: number, endX: number, endY: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Path;
API declaration: cubicTo(ctrlX1: number, ctrlY1: number, ctrlX2: number, ctrlY2: number, endX: number, endY: number): void;
Differences: cubicTo(ctrlX1: number, ctrlY1: number, ctrlX2: number, ctrlY2: number, endX: number, endY: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Path;
API declaration: close(): void;
Differences: close(): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Path;
API declaration: reset(): void;
Differences: reset(): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: class Canvas
Differences: class Canvas
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: drawRect(rect: common2D.Rect): void;
Differences: drawRect(rect: common2D.Rect): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: drawCircle(x: number, y: number, radius: number): void;
Differences: drawCircle(x: number, y: number, radius: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: drawImage(pixelmap: image.PixelMap, left: number, top: number): void;
Differences: drawImage(pixelmap: image.PixelMap, left: number, top: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: drawColor(color: common2D.Color, blendMode?: BlendMode): void;
Differences: drawColor(color: common2D.Color, blendMode?: BlendMode): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: drawPoint(x: number, y: number): void;
Differences: drawPoint(x: number, y: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: drawPath(path: Path): void;
Differences: drawPath(path: Path): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: drawLine(x0: number, y0: number, x1: number, y1: number): void;
Differences: drawLine(x0: number, y0: number, x1: number, y1: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: drawTextBlob(blob: TextBlob, x: number, y: number): void;
Differences: drawTextBlob(blob: TextBlob, x: number, y: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: attachPen(pen: Pen): void;
Differences: attachPen(pen: Pen): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: attachBrush(brush: Brush): void;
Differences: attachBrush(brush: Brush): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: detachPen(): void;
Differences: detachPen(): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Canvas;
API declaration: detachBrush(): void;
Differences: detachBrush(): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: interface TextBlobRunBuffer
Differences: interface TextBlobRunBuffer
api/@ohos.graphics.drawing.d.ts
New APINAClass name: TextBlobRunBuffer;
API declaration: glyph: number;
Differences: glyph: number;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: TextBlobRunBuffer;
API declaration: positionX: number;
Differences: positionX: number;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: TextBlobRunBuffer;
API declaration: positionY: number;
Differences: positionY: number;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: enum TextEncoding
Differences: enum TextEncoding
api/@ohos.graphics.drawing.d.ts
New APINAClass name: TextEncoding;
API declaration: TEXT_ENCODING_UTF8 = 0
Differences: TEXT_ENCODING_UTF8 = 0
api/@ohos.graphics.drawing.d.ts
New APINAClass name: TextEncoding;
API declaration: TEXT_ENCODING_UTF16 = 1
Differences: TEXT_ENCODING_UTF16 = 1
api/@ohos.graphics.drawing.d.ts
New APINAClass name: TextEncoding;
API declaration: TEXT_ENCODING_UTF32 = 2
Differences: TEXT_ENCODING_UTF32 = 2
api/@ohos.graphics.drawing.d.ts
New APINAClass name: TextEncoding;
API declaration: TEXT_ENCODING_GLYPH_ID = 3
Differences: TEXT_ENCODING_GLYPH_ID = 3
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: class TextBlob
Differences: class TextBlob
api/@ohos.graphics.drawing.d.ts
New APINAClass name: TextBlob;
API declaration: static makeFromString(text: string, font: Font, encoding?: TextEncoding): TextBlob;
Differences: static makeFromString(text: string, font: Font, encoding?: TextEncoding): TextBlob;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: TextBlob;
API declaration: static makeFromRunBuffer(pos: Array<TextBlobRunBuffer>, font: Font, bounds?: common2D.Rect): TextBlob;
Differences: static makeFromRunBuffer(pos: Array<TextBlobRunBuffer>, font: Font, bounds?: common2D.Rect): TextBlob;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: TextBlob;
API declaration: bounds(): common2D.Rect;
Differences: bounds(): common2D.Rect;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: class Typeface
Differences: class Typeface
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Typeface;
API declaration: getFamilyName(): string;
Differences: getFamilyName(): string;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: class Font
Differences: class Font
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Font;
API declaration: enableSubpixel(isSubpixel: boolean): void;
Differences: enableSubpixel(isSubpixel: boolean): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Font;
API declaration: enableEmbolden(isEmbolden: boolean): void;
Differences: enableEmbolden(isEmbolden: boolean): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Font;
API declaration: enableLinearMetrics(isLinearMetrics: boolean): void;
Differences: enableLinearMetrics(isLinearMetrics: boolean): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Font;
API declaration: setSize(textSize: number): void;
Differences: setSize(textSize: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Font;
API declaration: getSize(): number;
Differences: getSize(): number;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Font;
API declaration: setTypeface(typeface: Typeface): void;
Differences: setTypeface(typeface: Typeface): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Font;
API declaration: getTypeface(): Typeface;
Differences: getTypeface(): Typeface;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Font;
API declaration: getMetrics(): FontMetrics;
Differences: getMetrics(): FontMetrics;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Font;
API declaration: measureText(text: string, encoding: TextEncoding): number;
Differences: measureText(text: string, encoding: TextEncoding): number;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: interface FontMetrics
Differences: interface FontMetrics
api/@ohos.graphics.drawing.d.ts
New APINAClass name: FontMetrics;
API declaration: top: number;
Differences: top: number;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: FontMetrics;
API declaration: ascent: number;
Differences: ascent: number;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: FontMetrics;
API declaration: descent: number;
Differences: descent: number;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: FontMetrics;
API declaration: bottom: number;
Differences: bottom: number;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: FontMetrics;
API declaration: leading: number;
Differences: leading: number;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: class ColorFilter
Differences: class ColorFilter
api/@ohos.graphics.drawing.d.ts
New APINAClass name: ColorFilter;
API declaration: static createBlendModeColorFilter(color: common2D.Color, mode: BlendMode): ColorFilter;
Differences: static createBlendModeColorFilter(color: common2D.Color, mode: BlendMode): ColorFilter;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: ColorFilter;
API declaration: static createComposeColorFilter(outer: ColorFilter, inner: ColorFilter): ColorFilter;
Differences: static createComposeColorFilter(outer: ColorFilter, inner: ColorFilter): ColorFilter;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: ColorFilter;
API declaration: static createLinearToSRGBGamma(): ColorFilter;
Differences: static createLinearToSRGBGamma(): ColorFilter;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: ColorFilter;
API declaration: static createSRGBGammaToLinear(): ColorFilter;
Differences: static createSRGBGammaToLinear(): ColorFilter;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: ColorFilter;
API declaration: static createLumaColorFilter(): ColorFilter;
Differences: static createLumaColorFilter(): ColorFilter;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: class Pen
Differences: class Pen
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Pen;
API declaration: setColor(color: common2D.Color): void;
Differences: setColor(color: common2D.Color): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Pen;
API declaration: setStrokeWidth(width: number): void;
Differences: setStrokeWidth(width: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Pen;
API declaration: setAntiAlias(aa: boolean): void;
Differences: setAntiAlias(aa: boolean): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Pen;
API declaration: setAlpha(alpha: number): void;
Differences: setAlpha(alpha: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Pen;
API declaration: setColorFilter(filter: ColorFilter): void;
Differences: setColorFilter(filter: ColorFilter): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Pen;
API declaration: setBlendMode(mode: BlendMode): void;
Differences: setBlendMode(mode: BlendMode): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Pen;
API declaration: setDither(dither: boolean): void;
Differences: setDither(dither: boolean): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: drawing;
API declaration: class Brush
Differences: class Brush
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Brush;
API declaration: setColor(color: common2D.Color): void;
Differences: setColor(color: common2D.Color): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Brush;
API declaration: setAntiAlias(aa: boolean): void;
Differences: setAntiAlias(aa: boolean): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Brush;
API declaration: setAlpha(alpha: number): void;
Differences: setAlpha(alpha: number): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Brush;
API declaration: setColorFilter(filter: ColorFilter): void;
Differences: setColorFilter(filter: ColorFilter): void;
api/@ohos.graphics.drawing.d.ts
New APINAClass name: Brush;
API declaration: setBlendMode(mode: BlendMode): void;
Differences: setBlendMode(mode: BlendMode): void;
api/@ohos.graphics.drawing.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.graphics.common2D.d.ts
Differences: ArkGraphics 2D
api/@ohos.graphics.common2D.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.graphics.drawing.d.ts
Differences: ArkGraphics 2D
api/@ohos.graphics.drawing.d.ts

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apidiff-MediaKit

openharmony 鸿蒙 js-apidiff-InputKit

openharmony 鸿蒙 js-apidiff-BasicServicesKit

openharmony 鸿蒙 js-apidiff-ConnectivityKit

openharmony 鸿蒙 js-apidiff-ArkWeb

openharmony 鸿蒙 js-apidiff-MultimodalAwarenessKit

openharmony 鸿蒙 js-apidiff-ArkData

openharmony 鸿蒙 js-apidiff-NA

openharmony 鸿蒙 js-apidiff-IPCKit

openharmony 鸿蒙 js-apidiff-ArkTS

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/8DAFVHTt