Class MaskBuilder
名称: Aspose.Svg.Builder 会議: Aspose.SVG.dll (25.5.0)
CSSマスクの特性を作成するための構築クラス。このクラスは、複雑なマスクスタイルの構築を可能にし、様々な特性を使用するマッサージソース、位置、サイズ、繰り返しスタイリッシュなど。結果のラインは、要素のマッキング行動を定義するためにCSSで使用することができます。
[ComVisible(true)]
public class MaskBuilderInheritance
相続人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
MaskBuilder()
public MaskBuilder()Methods
BackgroundSize(ダブル、長いタイプ)
マスクの背景サイズを設定します。
public MaskBuilder BackgroundSize(double width, double height, LengthType type = LengthType.Px)Parameters
width double
背景の広さ。
height double
背景の高さ。
type LengthType
長さ測定の種類
Returns
マスクビルダーの現在の例。
Build()
マスク属性の価値をシルクとして構築します。
public string Build()Returns
CSSで使用するのに適したマスク属性のストレッチ表現。
CompositingOperator(CompositingOperator)
マスクのための作曲オペレーターを設定します。
public MaskBuilder CompositingOperator(CompositingOperator op)Parameters
コンポーネントオペレーター
Returns
マスクビルダーの現在の例。
GeometryBox(GeometryBox)
マスクの地質ボックスを設定します。
public MaskBuilder GeometryBox(GeometryBox box)Parameters
box GeometryBox
地質学の箱。
Returns
マスクビルダーの現在の例。
GeometryBoxNoclip(GeometryBox)
マスクのジオメトリックボックスをクリップなしに設定します。
public MaskBuilder GeometryBoxNoclip(GeometryBox box)Parameters
box GeometryBox
地質学の箱。
Returns
マスクビルダーの現在の例。
MaskSourceId(ストレッチ)
マスクのソースIDを設定します。
public MaskBuilder MaskSourceId(string maskSourceId)Parameters
maskSourceId string
マスク源要素のID
Returns
マスクビルダーの現在の例。
Exceptions
マスクSourceIdがゼロまたはホワイトスペースである場合に浸透します。
Position(ダブル、長さ)
マスクの位置を設定します。
public MaskBuilder Position(double position, LengthType type = LengthType.Px)Parameters
position double
ポジションの価値
type LengthType
長さ測定の種類
Returns
マスクビルダーの現在の例。
Position(ダブル、長いタイプ)
マスクの位置を水平値と垂直値で設定します。
public MaskBuilder Position(double horizontal, double vertical, LengthType type = LengthType.Px)Parameters
horizontal double
地平線の位置値。
vertical double
垂直位置の価値
type LengthType
長さ測定の種類
Returns
マスクビルダーの現在の例。
Position(横向きポジション、ダブル、長さタイプ)
マスクの位置を既定の水平位置と垂直値で設定します。
public MaskBuilder Position(HorizontalPosition horizontal, double vertical, LengthType type = LengthType.Px)Parameters
horizontal HorizontalPosition
既定の地平線位置。
vertical double
垂直位置の価値
type LengthType
長さ測定の種類
Returns
マスクビルダーの現在の例。
Position(垂直位置、ダブル、長さタイプ)
マスクの位置を既定の垂直位置と水平値で設定します。
public MaskBuilder Position(VerticalPosition vertical, double horizontal, LengthType type = LengthType.Px)Parameters
vertical VerticalPosition
既定の垂直位置。
horizontal double
地平線の位置値。
type LengthType
長さ測定の種類
Returns
マスクビルダーの現在の例。
Position(横向き位置、垂直位置)
マスクの位置を既定の水平および垂直位置で設定します。
public MaskBuilder Position(HorizontalPosition horizontal, VerticalPosition vertical)Parameters
horizontal HorizontalPosition
既定の地平線位置。
vertical VerticalPosition
既定の垂直位置。
Returns
マスクビルダーの現在の例。
Position(ホリゾンタルエッジ、ダブル、垂直エイジ、2倍、長さタイプ)
マスクの位置を端と値を使用して設定します。
public MaskBuilder Position(HorizontalEdge horizontalEdge, double horizontalValue, VerticalEdge verticalEdge, double verticalValue, LengthType type = LengthType.Px)Parameters
horizontalEdge HorizontalEdge
横向きの位置。
horizontalValue double
地平線の位置値。
verticalEdge VerticalEdge
垂直側の位置。
verticalValue double
垂直位置の価値
type LengthType
長さ測定の種類
Returns
マスクビルダーの現在の例。
RepeatStyle(RepeatStyle)
マスクの繰り返しスタイルを設定します。
public MaskBuilder RepeatStyle(RepeatStyle style)Parameters
style RepeatStyle
繰り返しのスタイル
Returns
マスクビルダーの現在の例。