AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkScene.SetBorderColor Method (TAgkColor)

Sets the color of any borders used when the display does not fit the aspect ratio exactly.

Syntax
Pascal
class procedure SetBorderColor(const Color: TAgkColor); overload; static;
Parameters 
Description 
const Color: TAgkColor 
the border color. The Alpha component is ignored. 

The border color will remain active for subsequent scenes. If this color is different from the clear color than an additional clear operation is performed and may affect performance if fill rate is an issue.

Copyright (c) 2012. All rights reserved.