Skip to content

ShapeOverlayList

function

Delphi
function ShapeOverlayList (Shape: TShape; Add: Boolean): Boolean;
C++Builder
bool __fastcall ShapeOverlayList(Vcl::Extctrls::TShape* Shape, bool Add);

List of TShape components that have to be drawn over video frames.

Remarks

Used to add/remove TShape components in the list of TShape components that will be drawn over video frames when ShapeOverlayEnabled is true.

  • to add a TShape, put a TShape component (or create it dynamically at runtime), and then simply call ShapeOverlayList (YourShapeComponent, true). - to remove a TShape component from the list, call ShapeOverlayList (YourShapeComponent, false). - the function returns true upon success.

Each The TShape component in the list will be drawn at its Left, Top, Right, Height coordinates if its Enabled property is true. It is possible to disable its Visible property whether it must not be visible on the form.

Note: to use only a single TShape component, it is possible to assign it to the ShapeOverlay property, instead of using this function.