BasicSetColorOperator

遗产: java.lang.Object, com.aspose.pdf.Operator, com.aspose.pdf.operators.SetColorOperator

public abstract class BasicSetColorOperator extends SetColorOperator

设置颜色运算符的基类。

方法

方法描述
accept(IOperatorSelector visitor)接受提供运算符处理的访问者 IOperatorSelector。
equals(Object arg0)
getB()获取颜色的红色分量
getC()获取 CMYK 颜色的青色分量。
getClass()
getColor()返回操作员指定的颜色。
getColorArray()获取颜色分量数组。
getCommand()获取命令
getCommandName()获取操作员名称。
getG()获取颜色的绿色分量
getGrey()获取灰色的黑色分量。
getIndex()获取页面操作符列表中的操作符索引。
getK()获取 CMYK 颜色的黑色分量。
getM()获取 CMYK 颜色的品红色分量。
getParameters()获取运算符参数数组。
getR()获取颜色的红色分量
getY()获取 CMYK 颜色的黄色分量。
hashCode()
isTextShowOperator(Operator op)判断操作符是否为负责文本输出的操作符(Tj、TJ等)
notify()
notifyAll()
reset()仅供内部使用
setIndex(int value)在页面操作符列表中设置操作符索引。
toString()将命令和参数转换为字符串表示形式。
toString(IPdfPrimitive primitive)根据 PDF 规范返回 Pdf 原语(字符串、数组、字典等)的文本表示。
wait()
wait(long arg0)
wait(long arg0, int arg1)

accept(IOperatorSelector visitor)

public abstract void accept(IOperatorSelector visitor)

接受提供运算符处理的访问者 IOperatorSelector。

参数:

范围类型描述
visitorIOperatorSelector访客对象

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getB()

public double getB()

获取颜色的红色分量

退货: 双倍价值

getC()

public double getC()

获取 CMYK 颜色的青色分量。

退货: 双倍价值

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getColor()

public abstract Color getColor()

返回操作员指定的颜色。

退货: Color - 操作员指定的颜色。

getColorArray()

public double[] getColorArray()

获取颜色分量数组。

退货: 双倍的[] - 双数组

getCommand()

public ICommand getCommand()

获取命令

退货: ICommand ICommand 对象

getCommandName()

public String getCommandName()

获取操作员名称。

退货: java.lang.String - 字符串值

getG()

public double getG()

获取颜色的绿色分量

退货: 双倍价值

getGrey()

public double getGrey()

获取灰色的黑色分量。

退货: 双倍价值

getIndex()

public int getIndex()

获取页面操作符列表中的操作符索引。

退货: int - 整数值

getK()

public double getK()

获取 CMYK 颜色的黑色分量。

退货: 双倍价值

getM()

public double getM()

获取 CMYK 颜色的品红色分量。

退货: 双倍价值

getParameters()

public ArrayList<CommandParameter> getParameters()

获取运算符参数数组。

退货: java.util.ArrayList<com.aspose.pdf.engine.commondata.pagecontent.operators.commands.CommandParameter> - CommandParameter 值的 ArrayList

getR()

public double getR()

获取颜色的红色分量

退货: 双倍价值

getY()

public double getY()

获取 CMYK 颜色的黄色分量。

退货: 双倍价值

hashCode()

public native int hashCode()

退货: 整数

isTextShowOperator(Operator op)

public static boolean isTextShowOperator(Operator op)

判断操作符是否为负责文本输出的操作符(Tj、TJ等)

参数:

范围类型描述
opOperator运算符对象

退货: boolean - 如果这是文本输出运算符则为真

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

reset()

public void reset()

仅供内部使用

setIndex(int value)

public void setIndex(int value)

在页面操作符列表中设置操作符索引。

参数:

范围类型描述
valueint整数值

toString()

public String toString()

将命令和参数转换为字符串表示形式。

退货: java.lang.String - 运算符文本

toString(IPdfPrimitive primitive)

public static String toString(IPdfPrimitive primitive)

根据 PDF 规范返回 Pdf 原语(字符串、数组、字典等)的文本表示。

参数:

范围类型描述
primitiveIPdf原始Primitive

退货: java.lang.String - 原语的文本表示

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int