CRect:SetToImage CRect:SetYmax

CRect:SetYmin


The SetYmin method initializes the minimum y value for the CRect object.

Syntax

CRect:SetYmin( nYmin )

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

Example

The following script sets the minimum y dimension of the CRect to xmin=200:

R = new_rect()

-- create a CRect object

R:SetYmin(200)

-- specify the dimension

Related Topics

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

 

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