AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkScene.ViewZoom Property

Zooms the screen viewport relative to the world. For example a view zoom of 2.0 will double the size of anything currently in view. A value of 1.0 returns everything to normal size.

Syntax
Pascal
class property ViewZoom: Single;

The view zoom will remain active for subsequent scenes. 

Using this property will automatically disable the four physics walls surrounding the screen. 

You can also fix sprites to the screen so that they do not change size by using TAgkSprite.FixedToScreen

This property can either zoom towards the view's top left corner or towards the view's center. See ViewZoomCentered for details.

Copyright (c) 2012. All rights reserved.