Class: MPLabel

Inherits:
UILabel
  • Object
show all
Includes:
MotionPrime::SupportKeyValueStore, MotionPrime::SupportPaddingAttribute
Defined in:
motion-prime/support/mp_label.rb

Instance Method Summary collapse

Methods included from MotionPrime::SupportPaddingAttribute

#apply_padding, #apply_padding!, #apply_padding?, #padding_bottom, #padding_insets, #padding_left, #padding_right, #padding_top

Methods included from MotionPrime::SupportKeyValueStore

#setValue

Instance Method Details

#drawTextInRect(rect) ⇒ Object



7
8
9
10
# File 'motion-prime/support/mp_label.rb', line 7

def drawTextInRect(rect)
  rect = UIEdgeInsetsInsetRect(rect, padding_insets)
  super(rect)
end