java.lang.Object | |
↳ | sun.java2d.loops.GraphicsPrimitive |
![]() |
![]() |
defines interface for primitives which can be placed into the graphic component manager framework
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GraphicsPrimitive.GeneralBinaryOp | |||||||||||
GraphicsPrimitive.GeneralUnaryOp | |||||||||||
GraphicsPrimitive.TraceReporter |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TRACECOUNTS | ||||||||||
int | TRACELOG | ||||||||||
int | TRACETIMESTAMP |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
tracefile | |||||||||||
traceflags | |||||||||||
traceout |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new GraphicsPrimitive with all of the required
descriptive information.
| |||||||||||
Create a new GraphicsPrimitive for native invocation
with all of the required descriptive information.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets unique id for this GraphicsPrimitive type.
| |||||||||||
Gets instance ID of this graphics primitive.
| |||||||||||
Return true if this primitive can be used for the given signature
surfaces, and composite.
| |||||||||||
Returns a string representation of the object.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create a new GraphicsPrimitive with all of the required descriptive information.
Create a new GraphicsPrimitive for native invocation with all of the required descriptive information.
Gets unique id for this GraphicsPrimitive type. This id is used to identify the TYPE of primitive (Blit vs. BlitBg) as opposed to INSTANCE of primitive.
Gets instance ID of this graphics primitive. Instance ID is comprised of four distinct ids (ORed together) that uniquely identify each instance of a GraphicsPrimitive object. The four ids making up instance ID are: 1. primitive id - identifier shared by all primitives of the same type (eg. all Blits have the same primitive id) 2. sourcetype id - identifies source surface type 3. desttype id - identifies destination surface type 4. compositetype id - identifies composite used
Return true if this primitive can be used for the given signature surfaces, and composite.
signature | The signature of the given operation. Must be == (not just .equals) the signature string given by the abstract class that declares the operation. |
---|---|
srctype | The surface type for the source of the operation |
comptype | The composite type for the operation |
dsttype | The surface type for the destination of the operation |
Returns a string representation of the object. In general, the
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())