public CustomStartEndLineStyle(PointSymbolType startType, Color startColor, int startSize,
                                PointSymbolType endType, Color endColor, int endSize,
                                Color lineColor, float lineSize)
     : this(new PointStyle(startType, new GeoSolidBrush(GeoColor.FromArgb(startColor.A, startColor.R, startColor.G, startColor.B)), startSize),
            new PointStyle(endType, new GeoSolidBrush(GeoColor.FromArgb(endColor.A, endColor.R, endColor.G, endColor.B)), endSize),
            new LineStyle(new GeoPen(GeoColor.FromArgb(lineColor.A, lineColor.R, lineColor.G, lineColor.B), lineSize)))
 { }
 public static PointStyle CreatePointStyle(PointSymbolType pointSymbolType, Color pen, int width)
 {
     return new PointStyle(pointSymbolType, new GeoSolidBrush(GeoColor.FromArgb(pen.A, pen.R, pen.G, pen.B)),
                           width);
 }
예제 #3
0
 public PointSymbol(PointSymbolType pointSymbolType)
 {
     PointSymbolType = pointSymbolType;
 }
예제 #4
0
 public PointSymbol(PointSymbolType pointSymbolType)
 {
     Size            = new SizeF(4, 4);
     PointSymbolType = pointSymbolType;
 }
 public DbPointSymbolType(PointSymbolType pointSymbolType) { PointSymbolTypeAsInt = (byte)pointSymbolType; }