public class CGLayer extends CFType
| Modifier and Type | Method and Description |
|---|---|
static CGLayer |
createWithContext(CGContext context,
CGSize size,
Map dictionary)
Creates and returns a CGLayer object with the specified parameter values.
|
CGContext |
getContext()
Returns the graphics context of this CGLayer object.
|
CGSize |
getSize()
Returns the width and height of this CGLayer object.
|
public static CGLayer createWithContext(CGContext context, CGSize size, Map dictionary)
context - The graphics context of this CGLayer object.size - The size of this CGLayer object.dictionary - The dictionary related to this CGLayer object.public CGContext getContext()
public CGSize getSize()
Copyright © 2020. All rights reserved.