empty Property

Summary

Gets a value that represents a static empty LeadRectD.

Syntax
TypeScript
JavaScript
Object.defineProperty(LeadRectD.prototype, 'empty', 
	get: function() 
) 
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

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

Leadtools Assembly