Interface ILoadImageConfig
Configuration to be used when loading images.
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface ILoadImageConfig
Properties
| Improve this Doc View SourceTextureConfig
Gets the configuration of the texture (scaling filter, should the texture be tiled or not).
Declaration
ITextureConfig TextureConfig { get; }
Property Value
Type | Description |
---|---|
ITextureConfig |
TransparentColorSamplePoint
For loading non 32-bit images (i.e with no alpha), you can select any color on the image to act as the transparent color. (0,0) for selecting the color on the top-left pixel of the image.
Declaration
Point? TransparentColorSamplePoint { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Point> | The transparent color sample point. |