[Overview][Constants][Classes][Index] Reference for unit 'nvGLWidgets' (#nvidia-widgets)

GLUIPainter.drawRoundedRect

Draw rouded rectangle primitive

Declaration

Source position: nvglwidgets.pas line 189

public procedure GLUIPainter.drawRoundedRect(

  aRect: Rect;

  const corner: Point;

  fillColorId: Integer;

  borderColorId: Integer

);

Arguments

aRect

  

Rectangle to draw in

corner

  

Radius of the corner

fillColorId

  

Fill color

borderColorId

  

Border color