mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-15 19:54:52 +08:00
remove unused code and add writing support for more graphics operations
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
public string Operator => Symbol;
|
||||
|
||||
public LineCapStyle Cap { get; set; }
|
||||
public LineCapStyle Cap { get; }
|
||||
|
||||
public SetLineCap(int cap) : this((LineCapStyle)cap) { }
|
||||
public SetLineCap(LineCapStyle cap)
|
||||
@@ -31,7 +31,10 @@
|
||||
|
||||
public void Write(Stream stream)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
stream.WriteDecimal((int)Cap);
|
||||
stream.WriteWhiteSpace();
|
||||
stream.WriteText(Symbol);
|
||||
stream.WriteNewLine();
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
public string Operator => Symbol;
|
||||
|
||||
public LineJoinStyle Join { get; set; }
|
||||
public LineJoinStyle Join { get; }
|
||||
|
||||
public SetLineJoin(int join) : this((LineJoinStyle)join) { }
|
||||
public SetLineJoin(LineJoinStyle join)
|
||||
@@ -31,7 +31,10 @@
|
||||
|
||||
public void Write(Stream stream)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
stream.WriteDecimal((int)Join);
|
||||
stream.WriteWhiteSpace();
|
||||
stream.WriteText(Symbol);
|
||||
stream.WriteNewLine();
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
|
Reference in New Issue
Block a user