public float originX ( ) { if ( isSet ( Flag . ODIRTY ) ) { float width = width ( ) ; if ( width > 0 ) { this . originX = origin . ox ( width ) ; this . originY = origin . oy ( height ( ) ) ; setFlag ( Flag . ODIRTY , false ) ; } } return originX ; }
Returns the x - component of the layer s origin .