| 256 | } |
| 257 | |
| 258 | void TextLayer::setTextOverflow(TextOverflow textOveflow) { |
| 259 | if (_textOverflow != textOveflow) { |
| 260 | _textOverflow = textOveflow; |
| 261 | setNeedsTextLayout(); |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | TextOverflow TextLayer::getTextOverflow() const { |
| 266 | return _textOverflow; |