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

NameTypeAccessDescription
cdoubleReadReturns the cyan component.
mdoubleReadReturns the magenta component.
ydoubleReadReturns the yellow component.
kdoubleReadReturns the black component.
nameStringReadReturns the operator keyword.
indexintReadReturns the index of this operator within its parent {@link OperatorCollection},
or -1 if not set.
operandsList<PdfBase>ReadReturns the operands as an unmodifiable list.

Métodos de avaliação

SignatureDescription
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()doubleReturns the cyan component.
getM()doubleReturns the magenta component.
getY()doubleReturns the yellow component.
getK()doubleReturns the black component.
Operator(name: String, operands: List<PdfBase>)Creates an operator with the given name and operands.
getName()StringReturns the operator keyword.
getIndex()intReturns 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()StringReturns 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
 Português