VectorImage::AddLine
Adds a straight line to the VectorImage.
GSErrCode AddLine ( const Sy_PolyLinType& polyLine const Geometry::Polygon2DData& poly );
Parameters
- polyLine
- The attrributes of the polyLine what will be added to the VectorImage.
- poly
- The geometry of the polyline.
Return value
If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.
Description
Addition always merges the new item to the end of the primitives list but drawing order can differ from placing order.
Requirements
- Version:API 15.0 or later, ModelerGraphics 8 or later
- Library:ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)
- Header:VectorImage.hpp