Skip to content

/AWS1/CL_MDCRECTANGLE

Use Rectangle to identify a specific area of the video frame.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_height TYPE /AWS1/MDC__INTEGERMIN2MAX21400 /AWS1/MDC__INTEGERMIN2MAX21400

Height of rectangle in pixels. Specify only even numbers.

iv_width TYPE /AWS1/MDC__INTEGERMIN2MAX21400 /AWS1/MDC__INTEGERMIN2MAX21400

Width of rectangle in pixels. Specify only even numbers.

iv_x TYPE /AWS1/MDC__INTEGERMIN0MAX21400 /AWS1/MDC__INTEGERMIN0MAX21400

The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.

iv_y TYPE /AWS1/MDC__INTEGERMIN0MAX21400 /AWS1/MDC__INTEGERMIN0MAX21400

The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.


Queryable Attributes

Height

Height of rectangle in pixels. Specify only even numbers.

Accessible with the following methods

Method Description
GET_HEIGHT() Getter for HEIGHT, with configurable default
ASK_HEIGHT() Getter for HEIGHT w/ exceptions if field has no value
HAS_HEIGHT() Determine if HEIGHT has a value

Width

Width of rectangle in pixels. Specify only even numbers.

Accessible with the following methods

Method Description
GET_WIDTH() Getter for WIDTH, with configurable default
ASK_WIDTH() Getter for WIDTH w/ exceptions if field has no value
HAS_WIDTH() Determine if WIDTH has a value

X

The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.

Accessible with the following methods

Method Description
GET_X() Getter for X, with configurable default
ASK_X() Getter for X w/ exceptions if field has no value
HAS_X() Determine if X has a value

Y

The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.

Accessible with the following methods

Method Description
GET_Y() Getter for Y, with configurable default
ASK_Y() Getter for Y w/ exceptions if field has no value
HAS_Y() Determine if Y has a value