PictureBox

A container for a picture.

Constructors

this
this(string name, string imageFile, size_t layers)

Creates a new picture box.

this
this(string name, Picture picture, size_t layers)

Creates a new picture box.

Members

Properties

picture
Picture picture [@property getter]

Gets the picture.

position
Point position [@property getter]

Gets the position of the picturebox.

position
Point position [@property setter]

Sets the position of the picturebox.

Inherited Members

From Container

disabled
bool disabled [@property getter]

Gets a boolean determining whether the container is disabled or not.

disabled
bool disabled [@property setter]

Sets a boolean determining whether the container is disabled or not.

add
void add(Component child, size_t layer)

Adds a component to the container.

add
void add(Component[] components, size_t layer)

Adds an array of components to the container.

remove
void remove(Component child)

Removes a component from the container.

remove
void remove(string name)

Removes a component from the container.

clear
void clear()

Clears the component for children.

clear
void clear(size_t layer)

Clears the components for a specific layer.

process
void process(RenderWindow window)

Processes the container during application cycles.

Meta