GraphInfo
Overview
GraphInfo is a class in Aspose.PDF FOSS for .NET.
Stroke / fill settings for drawable shapes and table-cell borders.
This class declares 2 methods for GraphInfo objects in .NET programs.
Available methods include: Clone, GraphInfo.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Color, DashArray, DashLengths, DashOffset, DashPhase, DashesFitTheLength, and 12 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Color | Color? | Read/Write | Gets or sets the stroke (line) colour. |
FillColor | Color? | Read/Write | Gets or sets the fill colour. |
DashArray | int[]? | Read/Write | Gets or sets the dash pattern as whole-point lengths, alternating dash and gap (e.g. |
DashPhase | int | Read/Write | Gets or sets how far into the dash pattern, in points, the line starts. |
DashLengths | double[]? | Read/Write | The dash pattern in points, dash then gap, fractions allowed – what DashArray cannot carry (a 5 pt dash with a 3.33 gap). |
DashOffset | double? | Read/Write | How far into the dash pattern the line starts, in points, fractions allowed – what DashPhase cannot carry (a dot pattern with a 5 pt gap starts half a gap in, at 2.5). |
DashesFitTheLength | bool | Read/Write | The dash pattern is fitted to each rule it draws: the gap is stretched so the rule holds a whole number of dashes, and the pattern is centred, half a gap at each end. |
RoundDashCaps | bool | Read/Write | The dashes are drawn with round caps (a dash of length 0 is then a round dot of the rule’s width). |
Style | RuleStyle | Read/Write | How the rule is built across its width; solid unless told otherwise. |
LineWidth | float | Read/Write | Gets or sets the line width in points (1/72 inch). |
IsDoubled | bool | Read/Write | Gets or sets the is doubled. |
RotationAngle | double | Read/Write | Gets or sets the rotation angle. |
ScalingRateX | double | Read/Write | Gets or sets the scaling rate x. |
ScalingRateY | double | Read/Write | Gets or sets the scaling rate y. |
SkewAngleX | double | Read/Write | Gets or sets the skew angle x. |
SkewAngleY | double | Read/Write | Gets or sets the skew angle y. |
X | double | Read | Gets the X coordinate. |
Y | double | Read | Gets the Y coordinate. |
Methods
| Signature | Description |
|---|---|
GraphInfo() | Creates default settings: a solid 1-point line with no stroke or fill colour set. |
Clone() | Calls Clone on this GraphInfo instance. |