Class: MotionDynamicType::Font
- Inherits:
-
Object
- Object
- MotionDynamicType::Font
- Defined in:
- lib/motion-dynamic-type/font.rb
Class Method Summary collapse
- .body ⇒ Object
- .caption_one ⇒ Object
- .caption_two ⇒ Object
- .footnote ⇒ Object
- .headline ⇒ Object
- .subhead ⇒ Object
Class Method Details
.body ⇒ Object
4 5 6 |
# File 'lib/motion-dynamic-type/font.rb', line 4 def body UIFont.preferredFontForTextStyle(UIFontTextStyleBody) end |
.caption_one ⇒ Object
16 17 18 |
# File 'lib/motion-dynamic-type/font.rb', line 16 def caption_one UIFont.preferredFontForTextStyle(UIFontTextStyleCaption1) end |
.caption_two ⇒ Object
20 21 22 |
# File 'lib/motion-dynamic-type/font.rb', line 20 def caption_two UIFont.preferredFontForTextStyle(UIFontTextStyleCaption2) end |
.footnote ⇒ Object
24 25 26 |
# File 'lib/motion-dynamic-type/font.rb', line 24 def footnote UIFont.preferredFontForTextStyle(UIFontTextStyleFootnote) end |
.headline ⇒ Object
8 9 10 |
# File 'lib/motion-dynamic-type/font.rb', line 8 def headline UIFont.preferredFontForTextStyle(UIFontTextStyleHeadline) end |
.subhead ⇒ Object
12 13 14 |
# File 'lib/motion-dynamic-type/font.rb', line 12 def subhead UIFont.preferredFontForTextStyle(UIFontTextStyleSubheadline) end |