| 247 | } |
| 248 | |
| 249 | void Node::setWidth(float var) { |
| 250 | auto& transform = getTransform(); |
| 251 | transform.width = var; |
| 252 | transform.anchorPointX = transform.anchorX * var; |
| 253 | markDirty(); |
| 254 | } |
| 255 | |
| 256 | float Node::getWidth() const noexcept { |
| 257 | return GetTAttr(width); |
no test coverage detected