Class TextureFill
Fills a shape with a texture.
Implements
Inherited Members
Namespace: Unity.VectorGraphics
Assembly: Unity.VectorGraphics.dll
Syntax
public class TextureFill : IFill
Properties
Addressing
The adressing mode (wrap, clamp or mirror) of this fill.
Declaration
public AddressMode Addressing { get; set; }
Property Value
Type | Description |
---|---|
AddressMode |
Mode
The filling method (non-zero or even-odd) of the fill.
Declaration
public FillMode Mode { get; set; }
Property Value
Type | Description |
---|---|
FillMode |
Opacity
The opacity of the fill.
Declaration
public float Opacity { get; set; }
Property Value
Type | Description |
---|---|
float |
Texture
The texture to fill the shape with.
Declaration
public Texture2D Texture { get; set; }
Property Value
Type | Description |
---|---|
Texture2D |