docs.unity.cn
    Show / Hide Table of Contents

    Class SolidFill

    Fills a shape with a single color.

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

    Properties

    Color

    The color of the fill.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Color

    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
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Wednesday, April 19, 2023
    Terms of use