harmony 鸿蒙Rect

2025-06-12 浏览 (1)

Rect

Overview

The Rect struct describes a rectangle.

Since: 8

Related module: NativeWindow

Header file: external_window.h

Summary

Member Variables

NameDescription
xStart X coordinate of the rectangle.
yStart Y coordinate of the rectangle.
wWidth of the rectangle.
hHeight of the rectangle.

x

int32_t Rect::x

Description

Start X coordinate of the rectangle.

y

int32_t Rect::y

Description

Start Y coordinate of the rectangle.

w

uint32_t Rext::w

Description

Width of the rectangle.

h

uint32_t Rext::h

Description

Height of the rectangle.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_BitmapFormat

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