create Method

Summary

Initializes a new LeadRectD object with explicit parameters.

Syntax

JavaScript Syntax
create = function(x, y, width, height) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly