Layout constructor

init

Initializes new instance of Layout class.

def __init__(self):
    ...

init

Initializes new instance of Layout class.

def __init__(self, name, width, height):
    ...
Parameter Type Description
name System.String The name of the layout.
width float The width of the layout in pixels.
height float The height of the layout in pixels.

Exceptions

Exception Description
ArgumentException Thrown when name is null or empty.

See Also