Пример #1
0
        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);
        }
Пример #2
0
 public SVGHandler(Picture pPicture, ISvgColorMapper pSVGColorMapper)
 {
     this.mPicture  = pPicture;
     this.mSVGPaint = new SVGPaint(pSVGColorMapper);
 }
Пример #3
0
 public SVGHandler(Picture pPicture, ISvgColorMapper pSVGColorMapper)
 {
     this.mPicture  = pPicture;
     this.mSVGPaint = new SVGPaint(pSVGColorMapper);
     //this.mSVGPaint.isStancil = true;
 }
Пример #4
0
 public SVGHandler(Picture pPicture, ISvgColorMapper pSVGColorMapper, bool isStencil)
 {
     this.mPicture            = pPicture;
     this.mSVGPaint           = new SVGPaint(pSVGColorMapper);
     this.mSVGPaint.isStancil = isStencil;
 }
Пример #5
0
		public SVGHandler(Picture pPicture, ISvgColorMapper pSVGColorMapper) {
			this.mPicture = pPicture;
			this.mSVGPaint = new SVGPaint(pSVGColorMapper);
		}