Ejemplo n.º 1
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute ColorTransform
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (5) set attribute ColorTransform </summary>
 ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
 ///
 public virtual void setColorTransform(EnumColorTransform enumVar)
 {
     setAttribute(AttributeName.COLORTRANSFORM, enumVar == null ? null : enumVar.getName(), null);
 }
Ejemplo n.º 2
0
 ///
 ///          <summary> * (9) get attribute ColorTransform </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumColorTransform getColorTransform()
 {
     return(EnumColorTransform.getEnum(getAttribute(AttributeName.COLORTRANSFORM, null, "Automatic")));
 }
Ejemplo n.º 3
0
 static JDFAutoDCTParams()
 {
     atrInfoTable[0] = new AtrInfoTable(AttributeName.SOURCECSS, 0x22222211, AttributeInfo.EnumAttributeType.enumerations, EnumSourceCSs.getEnum(0), null);
     atrInfoTable[1] = new AtrInfoTable(AttributeName.HSAMPLES, 0x33333311, AttributeInfo.EnumAttributeType.IntegerList, null, null);
     atrInfoTable[2] = new AtrInfoTable(AttributeName.VSAMPLES, 0x33333311, AttributeInfo.EnumAttributeType.IntegerList, null, null);
     atrInfoTable[3] = new AtrInfoTable(AttributeName.QFACTOR, 0x33333311, AttributeInfo.EnumAttributeType.double_, null, "1.0");
     atrInfoTable[4] = new AtrInfoTable(AttributeName.QUANTTABLE, 0x33333311, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[5] = new AtrInfoTable(AttributeName.HUFFTABLE, 0x33333311, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[6] = new AtrInfoTable(AttributeName.COLORTRANSFORM, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumColorTransform.getEnum(0), "Automatic");
 }