public void ScreenDimensions( float width, float height ) { this.width = width; this.height = height; pixelWidth = width / pixelScaleX; pixelHeight = height / pixelScaleY; isDerivedOutOfDate = true; PositionsOutOfDate(); }