Constructor CadMTextMask
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadMTextMask(bool, double, bool, DxfColor)
Makes a mask.
public CadMTextMask(bool useMask, double offsetFactor, bool useDrawingBackground, DxfColor fillColor)
Parameters
useMaskboolWhether the words stand on a mask.
offsetFactordoubleHow far the mask reaches past the words, a multiple of the text height from 1 to 5.
useDrawingBackgroundboolWhether the mask takes the drawing's background colour, rather than
fillColor.fillColorDxfColorThe colour of the mask, an index or a true colour; null for the colour the record gives none, by layer.
Exceptions
- ArgumentOutOfRangeException
Thrown when the factor is not a number from 1 to 5.