CRect:Xmin


asqzThe Xmin method returns the value of the minimum x value for the CRect object, measured in pixel coordinates.

Syntax

nXmin = CRect:Xmin()

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

Example

The following script prints the minimum x dimension of the CRect:

R = new_rect()

-- create a CRect object

Printf("Xmin=%.2lf\n", R:Xmin())

-- print the dimension

Related Topics

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

 

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