SegmentedControlPresettable
public protocol SegmentedControlPresettable
Segmented control preset
-
Segmented control style
Declaration
Swift
var segmentStyle: SegmentStylable { get set }
-
Segment item style
Declaration
Swift
var segmentItemStyle: SegmentItemStylable { get set }
-
Selected segment item style
Declaration
Swift
var segmentSelectedItemStyle: SegmentSelectedItemStylable { get set }
-
segmentSpacing
Extension methodA space between segments
Declaration
Swift
var segmentSpacing: CGFloat { get set }
-
segmentSize
Extension methodSegmented control size type
Declaration
Swift
var segmentSize: SegmentedControlSize { get set }
-
segmentClipsToBounds
Extension methodWhether or not should
clipsToBounds
the segmented controlDeclaration
Swift
var segmentClipsToBounds: Bool { get set }
-
segmentBorderWidth
Extension methodSegmented control boder width
Declaration
Swift
var segmentBorderWidth: CGFloat { get set }
-
segmentBorderColor
Extension methodSegmented control border color
Declaration
Swift
var segmentBorderColor: CGColor? { get set }
-
segmentCornerRadius
Extension methodSegmetned control corner radius
Declaration
Swift
var segmentCornerRadius: CGFloat { get set }
-
backgroundColor
Extension methodA segment item background color
Declaration
Swift
var backgroundColor: UIColor { get set }
-
textFont
Extension methodA segment item font
Declaration
Swift
var textFont: UIFont { get set }
-
selectedTextFont
Extension methodA segment item selected font (Optional)
Declaration
Swift
var selectedTextFont: UIFont? { get set }
-
textColor
Extension methodA segment item text color
Declaration
Swift
var textColor: UIColor { get set }
-
tintColor
Extension methodA segment item tint color (applied to the image)
Declaration
Swift
var tintColor: UIColor { get set }
-
selectedTextColor
Extension methodA segment item selected text color
Declaration
Swift
var selectedTextColor: UIColor { get set }
-
selectedTintColor
Extension methodA segment item selected tint color
Declaration
Swift
var selectedTintColor: UIColor { get set }
-
segmentItemBorderColor
Extension methodA segment item border color
Declaration
Swift
var segmentItemBorderColor: CGColor? { get set }
-
segmentItemBorderWidth
Extension methodA segment item boroder width
Declaration
Swift
var segmentItemBorderWidth: CGFloat { get set }
-
imageHeight
Extension methodA segment item image height
Declaration
Swift
var imageHeight: CGFloat { get set }
-
imageRenderMode
Extension methodA segment item image render mode
Declaration
Swift
var imageRenderMode: UIImage.RenderingMode { get set }
-
spaceBetweenImageAndLabel
Extension methodThe space between text and image
Declaration
Swift
var spaceBetweenImageAndLabel: CGFloat { get set }
-
segmentItemCornerRadius
Extension methodA segment item corner radius
Declaration
Swift
var segmentItemCornerRadius: CGFloat { get set }
-
segmentItemShadow
Extension methodA segment item shadow style
Declaration
Swift
var segmentItemShadow: ShadowStylable? { get set }
-
segmentItemAxis
Extension methodThe axis between text and image
Declaration
Swift
var segmentItemAxis: NSLayoutConstraint.Axis { get set }
-
segmentItemSeporator
Extension methodA segment item seporator style
Declaration
Swift
var segmentItemSeporator: SeporatorStylable? { get set }
-
selectedSegmentItemColor
Extension methodSelected segment item background color
Declaration
Swift
var selectedSegmentItemColor: UIColor { get set }
-
selectedSegmentItemBoderColor
Extension methodSelected segment item border color
Declaration
Swift
var selectedSegmentItemBoderColor: CGColor? { get set }
-
selectedSegmentItemBorderWidth
Extension methodSelected segment item border width
Declaration
Swift
var selectedSegmentItemBorderWidth: CGFloat { get set }
-
selectedSegmentItemCornerRadius
Extension methodSelected segment item corner radius
Declaration
Swift
var selectedSegmentItemCornerRadius: CGFloat { get set }
-
selectedSegmentItemSizeType
Extension methodSelected segment item size type
Declaration
Swift
var selectedSegmentItemSizeType: SelectedSegmentSize { get set }
-
selectedSegmentItemShadow
Extension methodSelected segment item shadow style
Declaration
Swift
var selectedSegmentItemShadow: ShadowStylable? { get set }
-
selectedSegmentItemOffset
Extension methodSelected segment item offset
Declaration
Swift
var selectedSegmentItemOffset: CGFloat { get set }