create Method

Summary

Initializes a new LeadRectD object with explicit parameters.

Syntax
TypeScript
JavaScript
create = function( 
   x, 
   y, 
   width, 
   height 
) 
static create( 
   x: number, 
   y: number, 
   width: number, 
   height: number 
): LeadRectD; 

Parameters

x

Specifies the X coordinates of the LeadRectD.

y

Specifies the Y coordinates of the LeadRectD.

width

Specifies the width of the LeadRectD. Must be a value greater than or equal to 0.

height

Specifies the height of the LeadRectD. Must be a value greater than or equal to 0.

Return Value

A LeadRectD set to x, y set to y, Width set to

width and height.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly