Class PatternFill | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PatternFill

    Fills a shape with a pattern.

    Inheritance
    System.Object
    PatternFill
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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
    System.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 — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023