AxialShading
概要
AxialShading は .NET 用 Aspose.PDF FOSS のクラスです。
継承元: ShadingBase。
軸方向(線形)シェーディング(タイプ 2、§8.7.4.3)。
このクラスは .NET プログラムで AxialShading オブジェクトを操作するための 1 つのメソッドを提供します。
利用可能なメソッドは次のとおりです: SampleAt。
Aspose.PDF FOSS for .NET パッケージをインストールすると、すべてのパブリック メンバーが任意の .NET アプリケーションからアクセス可能になります。
プロパティ: AntiAlias、BBox、Background、ColorSpaceName、Domain、Extend、およびその他 6 件。
プロパティ
| 名前 | 型 | アクセス | 説明 |
|---|---|---|---|
ShadingType | ShadingType | Read | シェーディングタイプを取得します。 |
X0 | double | Read | 開始点 X。 |
Y0 | double | Read | 開始点 Y。 |
X1 | double | Read | 終了点 X。 |
Y1 | double | Read | 終了点 Y。 |
Domain | double[] | Read | パラメータ範囲 [t0, t1]。 |
Function | PdfFunction? | Read | t → カラー成分への関数マッピング。 |
Extend | bool[] | Read | [extendBefore, extendAfter]。 |
ColorSpaceName | string | Read | シェーディングの出力用カラー空間名。 |
Background | double[]? | Read | 背景カラー成分、存在しない場合は null。 |
BBox | double[]? | Read | バウンディングボックス [xmin, ymin, xmax, ymax]、存在しない場合は null。 |
AntiAlias | bool | Read | アンチエイリアシングが要求されているか(参考情報)。 |
メソッド
| Signature | Description |
|---|---|
SampleAt(t: double) | パラメータ t ∈ [domain[0], domain[1]] におけるシェーディングをサンプリングします。 |