CRect:Ymin


The Ymin method returns the value of the minimum y value for the CRect object, measured in pixel coordinates.

Syntax

nYmin = CRect:Ymin()

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

Example

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

R = new_rect()

-- create a CRect object

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

-- print the dimension

Related Topics

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

 

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