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

NameTypeAccessDescription
ColorColor?Read/WriteGets or sets the stroke (line) colour.
FillColorColor?Read/WriteGets or sets the fill colour.
DashArrayint[]?Read/WriteGets or sets the dash pattern as whole-point lengths, alternating dash and gap (e.g.
DashPhaseintRead/WriteGets or sets how far into the dash pattern, in points, the line starts.
DashLengthsdouble[]?Read/WriteThe dash pattern in points, dash then gap, fractions allowed – what DashArray cannot carry (a 5 pt dash with a 3.33 gap).
DashOffsetdouble?Read/WriteHow 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).
DashesFitTheLengthboolRead/WriteThe 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.
RoundDashCapsboolRead/WriteThe dashes are drawn with round caps (a dash of length 0 is then a round dot of the rule’s width).
StyleRuleStyleRead/WriteHow the rule is built across its width; solid unless told otherwise.
LineWidthfloatRead/WriteGets or sets the line width in points (1/72 inch).
IsDoubledboolRead/WriteGets or sets the is doubled.
RotationAngledoubleRead/WriteGets or sets the rotation angle.
ScalingRateXdoubleRead/WriteGets or sets the scaling rate x.
ScalingRateYdoubleRead/WriteGets or sets the scaling rate y.
SkewAngleXdoubleRead/WriteGets or sets the skew angle x.
SkewAngleYdoubleRead/WriteGets or sets the skew angle y.
XdoubleReadGets the X coordinate.
YdoubleReadGets the Y coordinate.

Methods

SignatureDescription
GraphInfo()Creates default settings: a solid 1-point line with no stroke or fill colour set.
Clone()Calls Clone on this GraphInfo instance.

See Also

 English