CRect:SetYmax


The SetYmax method initializes the maximum y value for the CRect object.

Syntax

CRect:SetYmax( nYmax )

bullet.gif    nYmax is a number and may be positive or negative.

Example

The following script sets the maximum y dimension of the CRect to ymax=300.25:

R = new_rect()

-- create a CRect object

R:SetYmax(300.25)

-- specify the dimension

Related Topics

CRect class, Set, Image Coordinate System, Subpixel Coordinate Definition

 

Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.