empty Property (LeadRectD)

Summary

Gets a value that represents a static empty LeadRectD.

Syntax

JavaScript Syntax
Object.defineProperty(LeadRectD.prototype, 'empty', 
	get: function() 
) 
TypeScript Syntax
static empty: LeadRectD; // read-only

Property Value

An empty LeadRectD object.

Remarks

The x, y, Width and Height of the instance of LeadRectD are set a negative number. This is the only situation where a LeadRectD can have a negative width and height.

An empty LeadRectD indicates a rect object that is not set. You cannot modify the values of an empty rect and you should not use the values returned from x, y, Width and Height. You can use the IsEmpty property to determine whether a rect is empty (has not been set).

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize