Beispiel #1
0
 public SVGHatched(Color backgroundColour, Color foregroundColour, Shape.FillStyleC.Patterns pattern, SVGCanvas canvas)
 {
     m_BackgroundColour = backgroundColour;
     m_ForegroundColour = foregroundColour;
     m_Pattern          = pattern;
     Canvas             = canvas;
 }
Beispiel #2
0
 public SVGRadialGradient(Color centreColour, Color edgeColour, PointF centrePoint, float radius, SVGCanvas canvas)
 {
     m_CentreColour = centreColour;
     m_EdgeColour   = edgeColour;
     m_CentrePoint  = centrePoint;
     m_Radius       = radius;
     Canvas         = canvas;
 }
Beispiel #3
0
 public SVGLinearGradient(Color colourA, Color colourB, SVGCanvas canvas, PointF pointA, PointF pointB)
 {
     m_ColourA   = colourA;
     m_ColourB   = colourB;
     this.Canvas = canvas;
     m_PointA    = pointA;
     m_PointB    = pointB;
 }
Beispiel #4
0
 public SVGTexture(string imageID, Size imageSize, Canvas canvas)
 {
     m_ImageID   = imageID;
     m_ImageSize = imageSize;
     Canvas      = (SVGCanvas)canvas;
 }