Basic graphics context methods A brief summary of the main methods that apply to graphics contexts follows. There are convenience methods for setting individual attributes of a graphics context. These methods are described later in this section. createGC:values: Create and initialize a graphics context. changeGC:values: Change a group of graphics context attributes. copyGC:dest: Copy a group of graphics context attributes to another graphics context. getGCValues:valuesReturn: Retrieve a group of graphics context attributes from a graphics context. freeGC Free the resources allocated to the graphics context.