docs.unity.cn
    Show / Hide Table of Contents

    Class PatternFill

    Fills a shape with a pattern.

    Inheritance
    Object
    PatternFill
    Namespace: Unity.VectorGraphics
    Syntax
    public class PatternFill : IFill

    Properties

    Mode

    The filling method (non-zero or even-odd) of the fill.

    Declaration
    public FillMode Mode { get; set; }
    Property Value
    Type Description
    FillMode
    Implements
    IFill.Mode

    Opacity

    The opacity of the fill.

    Declaration
    public float Opacity { get; set; }
    Property Value
    Type Description
    Single
    Implements
    IFill.Opacity

    Pattern

    The root node of the pattern

    Declaration
    public SceneNode Pattern { get; set; }
    Property Value
    Type Description
    SceneNode

    Rect

    The rectangle that is repeated

    Declaration
    public Rect Rect { get; set; }
    Property Value
    Type Description
    Rect
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Wednesday, April 19, 2023
    Terms of use