AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.SetScissor Method (TAgkPoint, TAgkPoint)

Clips the sprite to the specified world coordinates when drawn.

Syntax
Pascal
procedure SetScissor(const P1: TAgkPoint; const P2: TAgkPoint); overload;
Parameters 
Description 
const P1: TAgkPoint 
The top left corner of the box to use as a clip boundary. 
const P2: TAgkPoint 
The bottom right corner of the box to use as a clip boundary. 
Copyright (c) 2012. All rights reserved.