CRect:SetXmin


The SetXmin method initializes the minimum x value for the CRect object.

Syntax

CRect:SetXmin( nXmin )

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

Example

The following script sets the minimum x dimension of the CRect to xmin=100:

R = new_rect()

-- create a CRect object

R:SetXmin(100)

-- 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.