SegmentItemStylable
public protocol SegmentItemStylable
A segment item avaulable styles
-
A segment item text color
Declaration
Swift
var textColor: UIColor { get set }
-
A segment item tint color (applied to the image)
Declaration
Swift
var tintColor: UIColor { get set }
-
A segment item selected text color
Declaration
Swift
var selectedTextColor: UIColor { get set }
-
A segment item selected tint color
Declaration
Swift
var selectedTintColor: UIColor { get set }
-
A segment item background color
Declaration
Swift
var backgroundColor: UIColor { get set }
-
A segment item boroder width
Declaration
Swift
var borderWidth: CGFloat { get set }
-
A segment item border color
Declaration
Swift
var borderColor: CGColor? { get set }
-
A segment item font
Declaration
Swift
var font: UIFont { get set }
-
A segment item selected font (Optional)
Declaration
Swift
var selectedFont: UIFont? { get set }
-
A segment item image height
Declaration
Swift
var imageHeight: CGFloat { get set }
-
A segment item image render mode
Declaration
Swift
var imageRenderMode: UIImage.RenderingMode { get set }
-
The space between text and image
Declaration
Swift
var spacing: CGFloat { get set }
-
A segment item corner radius
Declaration
Swift
var cornerRadius: CGFloat { get set }
-
A segment item shadow style
Declaration
Swift
var shadow: ShadowStylable? { get set }
-
A segment item seporator style
Declaration
Swift
var seporator: SeporatorStylable? { get set }
-
The axis between text and image
Declaration
Swift
var axis: NSLayoutConstraint.Axis { get set }