Class WindowBuilder
- Namespace
- Alis.Builder.Core.Graphic
- Assembly
- Alis.dll
The window builder class
public class WindowBuilder : IBuild<Window>, IBackground<WindowBuilder, Color>, IResolution<WindowBuilder, float, float>, IIsResizable<WindowBuilder, bool>
Inheritance
Implements
Inherited Members
Fields
window
The window
private readonly Window window
Field Value
Methods
Background(Color)
Backgrounds the value
public WindowBuilder Background(Color value)
Parameters
value
Color-
The value
Returns
- WindowBuilder
-
The window builder
Build()
Builds this instance
public Window Build()
Returns
- Window
-
The window
IsResizable()
Ises the resizable
public WindowBuilder IsResizable()
Returns
- WindowBuilder
-
The window builder
IsResizable(bool)
Ises the resizable using the specified value
public WindowBuilder IsResizable(bool value)
Parameters
value
bool-
The value
Returns
- WindowBuilder
-
The window builder
Resolution(float, float)
Resolutions the x
public WindowBuilder Resolution(float x, float y)
Parameters
Returns
- WindowBuilder
-
The window builder
See Also
-
IBuild<TOrigin>