File

src/components/kendoUI/baseComponents/DrawingNameSpace/Rectangle/Rectangle.ts

Description

Copyright (C) Mobilize.Net info@mobilize.net - All Rights Reserved

This file is part of the Mobilize Frameworks, which is proprietary and confidential.

NOTICE: All information contained herein is, and remains the property of Mobilize.Net Corporation. The intellectual and technical concepts contained herein are proprietary to Mobilize.Net Corporation and may be covered by U.S. Patents, and are protected by trade secret or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Mobilize.Net Corporation.

This file is subject to the terms and conditions defined in file 'LICENSE.txt', which is part of this source code package.

/** Stores a four integers that represent the location and size of a rectangle left, right, bottom, top

Index

Properties
Accessors

Constructor

constructor(x: number, y: number, width: number, height: number)
Parameters :
Name Type Optional
x number No
y number No
width number No
height number No

Properties

Private _height
Type : number
Private _width
Type : number
Private _x
Type : number
Private _y
Type : number

Accessors

width
getwidth()

Gets the y-coordinate of the upper-left corner of this Rectangle structure.

Returns : number
height
getheight()

Gets the height of this Rectangle structure.

Returns : number
left
getleft()

Gets the x-coordinate of the left edge of this Rectangle structure.

Returns : number
right
getright()

Gets the x-coordinate that is the sum of X and Width property values of this Rectangle structure.

Returns : number
top
gettop()

Gets the y-coordinate of the top edge of this Rectangle structure.

Returns : number
bottom
getbottom()

Gets the y-coordinate that is the sum of the Y and Height property values of this Rectangle structure.

Returns : number
x
getx()

Gets the x-coordinate of the upper-left corner of this Rectangle structure.

Returns : number
y
gety()

Gets the y-coordinate of the upper-left corner of this Rectangle structure.

Returns : number

results matching ""

    No results matching ""