AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkEditBox.SetScissor Method (Single, Single, Single, Single)

Clips the edit box to the specified world coordinates when drawn.

Syntax
Pascal
procedure SetScissor(const X1: Single; const Y1: Single; const X2: Single; const Y2: Single); overload;
Parameters 
Description 
const X1: Single 
The X coordinate of the top left corner of the box to use as a clip boundary. 
const Y1: Single 
The Y coordinate of the top left corner of the box to use as a clip boundary. 
const X2: Single 
The X coordinate of the bottom right corner of the box to use as a clip boundary. 
const Y2: Single 
The Y coordinate of the bottom right corner of the box to use as a clip boundary. 
Copyright (c) 2012. All rights reserved.