Apitron.PDF.Kit library for .NET
SystemObject
Apitron.PDF.Kit.FixedLayout.ResourcesResource
Apitron.PDF.Kit.FixedLayout.Resources.ShadingsShading
Apitron.PDF.Kit.FixedLayout.Resources.ShadingsAxialShading
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Top
Top
This class represents an axial shading.
Inheritance Hierarchy
Apitron.PDF.Kit.FixedLayout.ResourcesResource
Apitron.PDF.Kit.FixedLayout.Resources.ShadingsShading
Apitron.PDF.Kit.FixedLayout.Resources.ShadingsAxialShading
Namespace: Apitron.PDF.Kit.FixedLayout.Resources.Shadings
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax
The AxialShading type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | AxialShading(String, String, Boundary, Double, Double, String) |
Initializes a new instance of the AxialShading class.
|
![]() | AxialShading(String, String, Boundary, Double, Double, Double, String) |
Initializes a new instance of the AxialShading class.
|
![]() | AxialShading(String, String, Boundary, Double, Double, String, Boolean) |
Initializes a new instance of the AxialShading class.
|
![]() | AxialShading(String, String, Boundary, Double, Double, Double, String, Boolean) |
Initializes a new instance of the AxialShading class.
|
Properties
Name | Description | |
---|---|---|
![]() | Background |
Gets the background.
(Inherited from Shading.) |
![]() | Boundary |
Gets the boundary.
(Inherited from Shading.) |
![]() | CanBeExported |
Gets a value indicating whether this instance can be exported.
(Inherited from Resource.) |
![]() | ColorSpaceResourceID |
Gets the colour space in which colour values shall be expressed. This may be any device, CIE-based, or special colour space except a Pattern space.
(Inherited from Shading.) |
![]() | Coords |
Gets an array of four numbers [x0 y0 x1 y1] specifying the starting and ending coordinates of the axis, expressed in the shading’s target coordinate space.
|
![]() | Domain |
Gets an array of two numbers [t0 t1] specifying the limiting values of a parametric variable t. The variable is considered to vary linearly between these two values as the colour gradient varies between the starting and ending points of the axis. The variable t becomes the input argument to the colour function(s). Default value: [0.0 1.0].
|
![]() | Extend |
Gets an array of two boolean values specifying whether to extend the shading beyond the starting and ending points of the axis, respectively. Default value: [false false].
|
![]() | FunctionResourceIds |
Gets a 1-in, n-out function or an array of n 1-in, 1-out functions (where n is the number of colour components in the shading dictionary’s colour space). The function(s) shall be called with values of the parametric variable t in the domain defined by the Domain entry. Each function’s domain shall be a superset of that of the shading dictionary. If the value returned by the function for a given colour component is out of range, it shall be adjusted to the nearest valid value.
|
![]() | ResourceType |
Gets the resource type.
(Inherited from Resource.) |
See Also