Search Results for

    Show / Hide Table of Contents

    Class FillSegment

    Represent the main area of the ProgressBar to be filled.
    It contains a list of BarSegment which are the increasing / decreasing segments.
    When modifying the fill method or fill origin, the value of the child segments is automatically updated.

    Inheritance
    object
    BarSegment
    FillSegment
    Inherited Members
    BarSegment.Enable
    BarSegment.UseGradient
    BarSegment.Gradient
    BarSegment.FillAmount
    BarSegment.ImageFillOrigin
    BarSegment.ImageFillMethod
    BarSegment.Color
    BarSegment.SegmentType
    BarSegment.Image
    BarSegment.RectTransform
    BarSegment.SetImageGradientColor()
    BarSegment.IsValid()
    Namespace: TetraCreations.ProgressBarSystem
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class FillSegment : BarSegment

    Properties

    Childs

    Bar segments that are updated when the fill segment values are modified.

    Declaration
    public List<BarSegment> Childs { get; set; }
    Property Value
    Type Description
    List<><BarSegment>

    FillMethod

    Get / Set the fill method : Horizontal or Verical

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

    FillOrigin

    Get / Set the fill origin (Left / Right or Top / Bottom)

    Declaration
    public int FillOrigin { get; set; }
    Property Value
    Type Description
    int

    Methods

    Initialize(float)

    Set the Image fill amount and update it's color. Then update childs FillOrigin and FillMethod.

    Declaration
    public override void Initialize(float fillAmount)
    Parameters
    Type Name Description
    float fillAmount
    Overrides
    BarSegment.Initialize(float)
    In This Article
    Back to top Tetra Creations documentation