harmony 鸿蒙Rect

  • 2025-06-12
  • 浏览 (5)

Rect

Overview

The Rect struct describes a rectangle.

Since: 8

Related module: NativeWindow

Header file: external_window.h

Summary

Member Variables

Name Description
x Start X coordinate of the rectangle.
y Start Y coordinate of the rectangle.
w Width of the rectangle.
h Height 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

0  赞