FUILinearProgressIndicator
@MainActor
public class FUILinearProgressIndicator : FUIBaseDrawingView, FUITitleMultiLineComponent
Undocumented
-
Undocumented
See moreDeclaration
Swift
public enum LinearProgressIndicatorType : Int -
The type of the linear progress indicator.
Default is
.determinate.Declaration
Swift
@MainActor public var type: LinearProgressIndicatorType { get set } -
Leading image element
Declaration
Swift
@MainActor public var iconImage: UIImage { get set } -
Title element of the indicator. It will be shown below the progress indicator.
Declaration
Swift
@MainActor public private(set) var title: FUIMultiLineText { get set } -
Value of the progress indicator. The range of the value is 0.0 - 1.0.
Default value is 0.0.
Declaration
Swift
@MainActor public var indicatorProgress: Double { get set } -
Boolean value to indicate whether the Linear progress indicator is for AI task.
Default value is false.
Declaration
Swift
@MainActor public var isAIEnabled: Bool { get set }
-
Declaration
Swift
@MainActor public required init() -
Create a LinearProgressIndicator
Parameters:
type: Specifies the type of the linear progress indicator. The default is.determinate.iconImage: The leading image element for the indicator.description: The description element of the indicator.indicatorProgress: The progress value of the indicator.
Declaration
Swift
@MainActor public convenience init(indicatorProgress: Double, type: LinearProgressIndicatorType, iconImage: UIImage?, description: String?) -
Declaration
Swift
@MainActor public override func defaultAttributes(for property: FUIPropertyRef) -> [NSAttributedStringKey : Any] -
Declaration
Swift
@MainActor public override func refreshAttributedStrings() -
Declaration
Swift
@MainActor public override func calculateLayout(_ targetSize: CGSize)