| 295 | return _attributedText; |
| 296 | } |
| 297 | |
| 298 | void TextLayer::setTextColor(Color textColor) { |
| 299 | if (_textPaint.getColor() != textColor) { |
| 300 | _textPaint.setColor(textColor); |
| 301 | |
| 302 | setNeedsDisplay(); |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | Color TextLayer::getTextColor() const { |