empty Property


Gets a value that represents a static empty LeadRectD.


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

Property Value

An empty LeadRectD object.


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).


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