Enum TextureScaling
Texture scaling / repetition descriptor for use in DrawingHelpers fluent draw interface
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public enum TextureScaling : int
Fields
| Name | Description |
|---|---|
| Stretch | Stretch Texture over the entire shape |
| Tiled | Texture pixel size is maintained relative to shape Tiling occurs if shape larger than texture Tiling occurs relative to the centre of the shape (middle of shape == middle of texture) |