Class MaskBuilder
ชื่อพื้นที่: Aspose.Svg.Builder การประชุม: Aspose.SVG.dll (25.5.0)
คลาสสร้างเพื่อสร้างคุณสมบัติของ mask 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
ตัวอย่างปัจจุบันของ MaskBuilder
Build()
สร้างมูลค่าของคุณสมบัติของหน้ากากเป็น string
public string Build()Returns
การแสดงผล string ของคุณสมบัติของ mask เหมาะสําหรับการใช้งานใน CSS
CompositingOperator(CompositingOperator)
ติดตั้งผู้ประกอบการสําหรับหน้ากาก
public MaskBuilder CompositingOperator(CompositingOperator op)Parameters
ผู้ประกอบการ
Returns
ตัวอย่างปัจจุบันของ MaskBuilder
GeometryBox(GeometryBox)
ติดตั้งกล่องจิเมตริกของหน้ากาก
public MaskBuilder GeometryBox(GeometryBox box)Parameters
box GeometryBox
กล่องทางภูมิศาสตร์
Returns
ตัวอย่างปัจจุบันของ MaskBuilder
GeometryBoxNoclip(GeometryBox)
ติดตั้งกล่องภูมิศาสตร์ของหน้ากากโดยไม่มีการตัด
public MaskBuilder GeometryBoxNoclip(GeometryBox box)Parameters
box GeometryBox
กล่องทางภูมิศาสตร์
Returns
ตัวอย่างปัจจุบันของ MaskBuilder
MaskSourceId(รั้ว)
ติดตั้งเครื่องหมายรหัสแหล่งที่มาสําหรับ mask
public MaskBuilder MaskSourceId(string maskSourceId)Parameters
maskSourceId string
ID ขององค์ประกอบแหล่งมาส
Returns
ตัวอย่างปัจจุบันของ MaskBuilder
Exceptions
ระยําเมื่อ maskSourceId เป็นศูนย์หรือพื้นที่ขาว
Position(ประเภทความยาว)
ตั้งตําแหน่งของหน้ากาก
public MaskBuilder Position(double position, LengthType type = LengthType.Px)Parameters
position double
ความหมายของตําแหน่ง
type LengthType
ประเภทการวัดความยาว
Returns
ตัวอย่างปัจจุบันของ MaskBuilder
Position(คู่, สอง, ระยะยาว)
กําหนดตําแหน่งของ mask โดยใช้ค่าแนวนอนและแนวตั้ง
public MaskBuilder Position(double horizontal, double vertical, LengthType type = LengthType.Px)Parameters
horizontal double
หมายเลขตําแหน่งแนวนอน
vertical double
หมายเลขตําแหน่งแนวตั้ง
type LengthType
ประเภทการวัดความยาว
Returns
ตัวอย่างปัจจุบันของ MaskBuilder
Position(ตําแหน่งแนวนอน, คู่, ความยาวประเภท)
กําหนดตําแหน่งของ mask โดยใช้ตําแหน่งแนวนอนที่กําหนดไว้และค่าแนวตั้ง
public MaskBuilder Position(HorizontalPosition horizontal, double vertical, LengthType type = LengthType.Px)Parameters
horizontal HorizontalPosition
ตําแหน่งแนวนอนที่กําหนดไว้แล้ว
vertical double
หมายเลขตําแหน่งแนวตั้ง
type LengthType
ประเภทการวัดความยาว
Returns
ตัวอย่างปัจจุบันของ MaskBuilder
Position(ตําแหน่งแนวตั้ง, สอง, ความยาวType)
กําหนดตําแหน่งของ mask โดยใช้ตําแหน่งแนวตั้งที่กําหนดไว้และค่าแนวนอน
public MaskBuilder Position(VerticalPosition vertical, double horizontal, LengthType type = LengthType.Px)Parameters
vertical VerticalPosition
ตําแหน่งแนวตั้งที่กําหนดไว้
horizontal double
หมายเลขตําแหน่งแนวนอน
type LengthType
ประเภทการวัดความยาว
Returns
ตัวอย่างปัจจุบันของ MaskBuilder
Position(โพสต์แนวนอน, ตําแหน่งแนวตั้ง)
กําหนดตําแหน่งของ mask ใช้ตําแหน่งแนวนอนและแนวตั้งที่กําหนดไว้ล่วงหน้า
public MaskBuilder Position(HorizontalPosition horizontal, VerticalPosition vertical)Parameters
horizontal HorizontalPosition
ตําแหน่งแนวนอนที่กําหนดไว้แล้ว
vertical VerticalPosition
ตําแหน่งแนวตั้งที่กําหนดไว้
Returns
ตัวอย่างปัจจุบันของ MaskBuilder
Position(HorizontalEdge, คู่, VerticalEdg, Double, LengthType)
กําหนดตําแหน่งของ mask โดยใช้ขอบและค่า
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
ตัวอย่างปัจจุบันของ MaskBuilder
RepeatStyle(RepeatStyle)
สร้างรูปแบบที่ซ้ํากันของหน้ากาก
public MaskBuilder RepeatStyle(RepeatStyle style)Parameters
style RepeatStyle
สไตล์การตอบสนอง
Returns
ตัวอย่างปัจจุบันของ MaskBuilder