Object.defineProperty(AnnObject.prototype, 'stroke',
get: function(),
set: function(value)
)
stroke: AnnStroke;
The AnnStroke used to draw this AnnObject. The default value is a solid red stroke with length of 1.
This property should be used to trace the outline of this object. Each object renderer is responsible for determining whether to use this property and what the outline of the object is. For example, the renderer for AnnRectangleObject will use this property to draw the rectangle area border. Setting Stroke to null will draw a rectangle without a border (only filled, depending on the value of Fill).
For an example, refer to AnnContainer.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET