A Margin represents a band of space outside or inside a rectangular area, with possibly different values on each of the four sides.
If zero arguments are supplied, zero is used for all four sides.
If one argument is supplied, that number is used for all four sides.
the margin for all four sides.
If two arguments are supplied, the top and bottom sides get the first value, and the left and right sides get the second value.
the margin for the top and bottom sides
the margin for the right and left sides
If there are four arguments, the numbers represent: top, right, bottom, left.
the margin for the top side; if not supplied, all sides are zero.
the margin for the right side; if not supplied, all sides have the value of the first argument.
the margin for all bottom side; if not supplied, the top and bottom get the value of the first argument, and the right and left sides get the value of the second argument.
the margin for the left side; must be supplied if the third argument was supplied.
Gets or sets the bottom value of this margin.
Gets or sets the left value of this margin.
Gets or sets the right value of this margin.
Gets or sets the top value of this margin.
Create a copy of this Margin, with the same values.
Indicates whether the given margin is equal to this Margin.
top.
right.
bottom.
left.
boolean
Indicates whether the given Margin is equal to this Margin.
The Margin to compare to this Margin.
boolean
True if this Margin has values that are real numbers and not infinity.
boolean
This static method can be used to read in a Margin from a string that was produced by Margin.stringify.
Replace the transformation matrix of this Transform with those of another Transform.
Modify this Size with new Width and Height values.
This static method can be used to write out a Margin as a string that can be read by Margin.parse.
string