Ejemplo n.º 1
0
        public void Paint(GraphPath figure, Graphics g, int time)
        {
            Brush brush1 = null;

            brush1 = BrushManager.GetGDIBrushFromPatten(this.pattern, figure.GetBounds());

            g.FillPath(brush1, figure.GPath);
        }
Ejemplo n.º 2
0
        public void Paint(GraphicsPath path, Graphics g, int time, float opacity)
        {
            Brush brush1 = null;

            this.pattern.Opacity = opacity;

            brush1 = BrushManager.GetGDIBrushFromPatten(this.pattern, path.GetBounds());

            g.FillPath(brush1, path);
        }