 | RadialPattern(PdfDocument, FS_CIRCLEF, FS_CIRCLEF, PdfFunction, PdfColorSpace, FS_MATRIX, FS_MATRIX) Constructor |
Create new radial shading pattern
Namespace: Patagames.Pdf.Net.PatternsAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic RadialPattern(
PdfDocument document,
FS_CIRCLEF from,
FS_CIRCLEF to,
PdfFunction[] functions,
PdfColorSpace colorSpace,
FS_MATRIX parentMatrix = null,
FS_MATRIX formMatrix = null
)
Public Sub New (
document As PdfDocument,
from As FS_CIRCLEF,
to As FS_CIRCLEF,
functions As PdfFunction(),
colorSpace As PdfColorSpace,
Optional parentMatrix As FS_MATRIX = Nothing,
Optional formMatrix As FS_MATRIX = Nothing
)
public:
RadialPattern(
PdfDocument^ document,
FS_CIRCLEF from,
FS_CIRCLEF to,
array<PdfFunction^>^ functions,
PdfColorSpace^ colorSpace,
FS_MATRIX^ parentMatrix = nullptr,
FS_MATRIX^ formMatrix = nullptr
)
new :
document : PdfDocument *
from : FS_CIRCLEF *
to : FS_CIRCLEF *
functions : PdfFunction[] *
colorSpace : PdfColorSpace *
?parentMatrix : FS_MATRIX *
?formMatrix : FS_MATRIX
(* Defaults:
let _parentMatrix = defaultArg parentMatrix null
let _formMatrix = defaultArg formMatrix null
*)
-> RadialPattern
public RadialPattern(
PdfDocument document,
FS_CIRCLEF from,
FS_CIRCLEF to,
PdfFunction[] functions,
PdfColorSpace colorSpace,
FS_MATRIX parentMatrix = null,
FS_MATRIX formMatrix = null
)
Patagames.Pdf.Net.Patterns.RadialPattern = function(document, from, to, functions, colorSpace, parentMatrix, formMatrix);
Parameters
- document PdfDocument
- The PDF document.
- from FS_CIRCLEF
- The starting circle, expressed in the shading’s target coordinate space.
- to FS_CIRCLEF
- The ending circle, expressed in the shading’s target coordinate space.
- functions PdfFunction
- An array of n 1-in, 1-out functions where n is the number of color components in the shading dictionary’s color space.
- colorSpace PdfColorSpace
- The color space in which color values are expressed. This may be any device, CIE-based, or special color space except a Pattern space.
- parentMatrix FS_MATRIX (Optional)
- The transformation matrix of the parent content stream.
- formMatrix FS_MATRIX (Optional)
- The pattern matrix. If null, the identity matrix is used.
See Also