ColorOperation
ColorOperation class
Represents different color operations used for color transformations. Immutable object.
ColorOperation
Name | Description |
---|---|
ColorOperation(int) | Creates new color transform operation. |
Parameters:
Name | Type | Description |
---|---|---|
op | int | Operation type. |
Returns: ColorOperation
ColorOperation
Name | Description |
---|---|
ColorOperation(int, float) | Creates new color transform operation. |
Parameters:
Name | Type | Description |
---|---|---|
op | int | Operation type. |
parameter | float | Operation parameter. |
Returns: ColorOperation
equals
Name | Description |
---|---|
equals (Object) | Determines whether the two ColorOperation instances are equal. |
Parameters:
Name | Type | Description |
---|---|---|
obj | Object | The ColorOperation to compare with the current ColorOperation. |
Returns: boolean
getOperationType
Name | Description |
---|---|
getOperationType () | Returns or sets the type of an operation. Read-only ColorTransformOperation. |
Returns: int
getParameter
Name | Description |
---|---|
getParameter () | Returns a parameter of an operation. Read-only float. |
Returns: float
hashCode
Name | Description |
---|---|
hashCode () | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
Returns: int