SetCMYKColor
Resumo geral
SetCMYKColor é uma classe em Aspose.PDF FOSS para Java. Herda de: ゚SetColorOperator` .
Defina a cor CMYK para o operador de operações sem traço (k).
Esta classe fornece 15 métodos para trabalhar com objetos SetCMYKColor em programas Java. Os métodos disponíveis incluem: Operator, ̋SetCMyKKolor , ∂equals (ou “o que é”) ̨getC [= igual à coisa"), ̓getM[= o mesmo], ̇getName (= nome), ゚getOferand, ?? getY,[= um código de hash] e 2 métodos adicionais. Todos os membros públicos são acessíveis a qualquer aplicativo Java após instalar o pacote Aspose.PDF FOSS for Java . Properties: ¬c®, ¬index, ¤k, ̈m′, †name, ̄operands̅, e mais 1.
Propriedades
| Name | Type | Access | Description |
|---|---|---|---|
c | double | Read | Returns the cyan component. |
m | double | Read | Returns the magenta component. |
y | double | Read | Returns the yellow component. |
k | double | Read | Returns the black component. |
name | String | Read | Returns the operator keyword. |
index | int | Read | Returns the index of this operator within its parent {@link OperatorCollection}, |
| or -1 if not set. | |||
operands | List<PdfBase> | Read | Returns the operands as an unmodifiable list. |
Métodos de avaliação
| Signature | Description |
|---|---|
SetCMYKColor(c: double, m: double, y: double, k: double) | Creates a SetCMYKColor (k) operator with the specified CMYK components. |
SetCMYKColor(operands: List<PdfBase>) | Creates a SetCMYKColor (k) operator from parsed operands. |
getC() → double | Returns the cyan component. |
getM() → double | Returns the magenta component. |
getY() → double | Returns the yellow component. |
getK() → double | Returns the black component. |
Operator(name: String, operands: List<PdfBase>) | Creates an operator with the given name and operands. |
getName() → String | Returns the operator keyword. |
getIndex() → int | Returns the index of this operator within its parent {@link OperatorCollection}, |
| or -1 if not set. | |
setIndex(index: int) | Sets the index of this operator within its parent collection. |
getOperands() → List<PdfBase> | Returns the operands as an unmodifiable list. |
toString() → String | Returns a string representation of this operator in content stream syntax. |
writeTo(os: OutputStream) | Writes this operator’s content-stream serialization to {@code os} preserving |
| exact operand bytes. | |
equals(o: Object) → boolean | |
hashCode() → int |
Ver também:
- Aspose.3D para Java Referência da API Enterprise