class MotionDynamicType::Font
Public Class Methods
body()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 4 def body UIFont.preferredFontForTextStyle(UIFontTextStyleBody) end
callout()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 28 def callout UIFont.preferredFontForTextStyle(UIFontTextStyleCallout) end
caption_one()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 16 def caption_one UIFont.preferredFontForTextStyle(UIFontTextStyleCaption1) end
caption_two()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 20 def caption_two UIFont.preferredFontForTextStyle(UIFontTextStyleCaption2) end
footnote()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 24 def footnote UIFont.preferredFontForTextStyle(UIFontTextStyleFootnote) end
headline()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 8 def headline UIFont.preferredFontForTextStyle(UIFontTextStyleHeadline) end
large_title()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 32 def large_title UIFont.preferredFontForTextStyle(UIFontTextStyleLargeTitle) end
subhead()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 12 def subhead UIFont.preferredFontForTextStyle(UIFontTextStyleSubheadline) end
title_one()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 36 def title_one UIFont.preferredFontForTextStyle(UIFontTextStyleTitle1) end
title_three()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 44 def title_three UIFont.preferredFontForTextStyle(UIFontTextStyleTitle3) end
title_two()
click to toggle source
# File lib/motion-dynamic-type/font.rb, line 40 def title_two UIFont.preferredFontForTextStyle(UIFontTextStyleTitle2) end