Interface ISvgPaintServer
Interface for working with paint servers.
public interface ISvgPaintServer : INoDrawSvgNodeRenderer, IBranchSvgNodeRenderer, ISvgNodeRenderer
- Inherited Members
Remarks
Interface for working with paint servers. These are the elements that are referenced from the fill or stroke of an object.
Methods
CreateColor(SvgDrawContext, Rectangle, float, float)
Creates the Color that represents the corresponding paint server for specified object box.
Color CreateColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity)
Parameters
context
SvgDrawContextthe current svg draw context
objectBoundingBox
Rectanglethe coloring object bounding box without any adjustments (additional stroke width or others)
objectBoundingBoxMargin
floatthe objectBoundingBoxMargin of the object bounding box to be colored (for example - the part of stroke width that exceeds the object bounding box, i.e. the half of stroke width value)
parentOpacity
floatcurrent parent opacity modifier
Returns
- Color
the created color