Closes the object group.
Syntax: |
---|
FWizAssembly.EndGroup() |
Return Value
If an error occurs it returns false otherwise it returns true.
Example
Copy code | |
---|---|
function OnBuildAssembly()
{
var ctx = FWiz.GetAssemblyCtx();
ctx.DrawAttributes(false, false);
var style = FWiz.GetPenStyle(0);
style.SetStyle("ballpoint pen blue");
ctx.SetPenStyle(0);
var rect = new DlxRect();
rect.SetRect(new DlxPoint(0,0), 10, 5);
ctx.BeginGroup("Body");
ctx.DrawRectangle(rect);
ctx.EndGroup();
}
|