W3cubDocs

/Haxe JavaScript

Rect

package js.html.svg

@:native("SVGRect") Available on js

The SVGRect represents a rectangle. Rectangles consist of codex/code and codey/code coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are constrained to be non-negative.

Documentation SVGRect by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

height:Float

width:Float

x:Float

y:Float

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/Rect.html