FontSize
public enum FontSize: RawRepresentable
Wrapper for font size of the danmaku.
- small:
小
on bilibili. - medium:
中
on bilibili. - large:
大
on bilibili. - custom: Some user defined value.
- FontSize.small.rawValue:: 18.
- FontSize.medium.rawValue:: 25.
- FontSize.large.rawValue:: 36.
-
See class reference.
-
-
-
Some user defined font size.
Declaration
Swift
case custom(Int)
-
Actual font size.
Declaration
Swift
public var rawValue: Int
-
Initialize a FontSize of given point.
Declaration
Swift
public init?(rawValue: Int)
Parameters
rawValue
font size.