FUIMapLegendFillItem
@MainActor
public class FUIMapLegendFillItem : UIView
FUIMapLegendFillItem is a UIView that presents a square view with a fill color and border color.
Available in FUIMapLegendFillItem:
fillColor: aUIColorthat is the fill color of the square viewborderColor: aUIColorthat is the border color of the square view
Example Initialization and Configuration:
let highActivityRegion = FUIMapLegendFillItem()
highActivityRegion.fillColor = UIColor.preferredFioriColor(forStyle: .map3)
highActivityRegion.borderColor = UIColor.preferredFioriColor(forStyle: .map3)
var highActivityRegionItem = FUIMapLegendItem(title: "High Activity Region")
highActivityRegionItem.fillItem = highActivityRegion
legend.items = [highActivityRegionItem]
-
A
UIColorthat is the fill color of the square viewDeclaration
Swift
@MainActor public var fillColor: UIColor! { get set } -
A
UIColorthat is the borders of the square viewDeclaration
Swift
@MainActor public var borderColor: UIColor! { get set } -
An initializer to instantiate a
FUIMapLegendFillItemDeclaration
Swift
@MainActor public init() -
An initializer to instantiate a
FUIMapLegendFillItemDeclaration
Swift
@MainActor required public init?(coder aDecoder: NSCoder) -
The method responsible for adding the
CAShapeLayerborder withUIBezierPathDeclaration
Swift
@MainActor override public func layoutSubviews()