void applyColor(SVGProperties pSVGProperties, int pColor, bool pModeFill) { int c = (int)((ColorUtils.COLOR_MASK_32BIT_ARGB_RGB & pColor) | ColorUtils.COLOR_MASK_32BIT_ARGB_ALPHA); this.mPaint.Color = new Color(c); this.mPaint.Alpha = SVGPaint.parseAlpha(pSVGProperties, pModeFill); }
public SVGHandler(Picture pPicture, ISvgColorMapper pSVGColorMapper) { this.mPicture = pPicture; this.mSVGPaint = new SVGPaint(pSVGColorMapper); }
public SVGHandler(Picture pPicture, ISvgColorMapper pSVGColorMapper) { this.mPicture = pPicture; this.mSVGPaint = new SVGPaint(pSVGColorMapper); //this.mSVGPaint.isStancil = true; }
public SVGHandler(Picture pPicture, ISvgColorMapper pSVGColorMapper, bool isStencil) { this.mPicture = pPicture; this.mSVGPaint = new SVGPaint(pSVGColorMapper); this.mSVGPaint.isStancil = isStencil; }