Class PaintBuilder
Class PaintBuilder
名称: Aspose.Svg.Builder 會議: Aspose.SVG.dll (25.5.0)
建造者类为SVG元素创建绘画值。
[ComVisible(true)]
public class PaintBuilder
Inheritance
继承人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PaintBuilder()
public PaintBuilder()
Methods
Build()
创建最终绘画值。
public string Build()
Returns
一条线代表绘画的价值。
Color(Color)
将绘画定于一个特定的颜色。
public PaintBuilder Color(Color colorValue)
Parameters
colorValue
Color
要设置的颜色。
Returns
建造者是连锁的例子。
ContextFill()
将绘画设置为“背景填写”,使用背景的当前填充颜色。
public PaintBuilder ContextFill()
Returns
建造者是连锁的例子。
ContextStroke()
将绘画设置为“背景图”,使用背景的当前图形颜色。
public PaintBuilder ContextStroke()
Returns
建造者是连锁的例子。
None()
把画放在“没有”。
public PaintBuilder None()
Returns
建造者是连锁的例子。
PaintServerId(彩色,颜色?)
将油漆设置到一个涂料服务器(如格拉迪安或模式)与可选的落后颜色。
public PaintBuilder PaintServerId(string paintServerId, Color? fallbackColor = null)
Parameters
paintServerId
string
彩色服务器的ID。
fallbackColor
Color
?
可选落后颜色,如果油漆服务器不适用。
Returns
建造者是连锁的例子。