Rect
js.html.svg.Rect (extern class)
The SVGRect
represents a rectangle. Rectangles consist of an x and y 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:
Instance Members
x: Float
The exact effect of this coordinate depends on each element. If the attribute is not specified, the effect is as if a value of 0
were specified.
y: Float
The exact effect of this coordinate depends on each element.If the attribute is not specified, the effect is as if a value of 0
were specified.
width: Float
This represents the width of the rectangle.A value that is negative results to an error. A value of zero disables rendering of the element
height: Float