Package | Description |
---|---|
crossmobile.ios.coregraphics | |
crossmobile.ios.foundation | |
crossmobile.ios.mapkit | |
crossmobile.ios.quartzcore | |
crossmobile.ios.uikit |
Modifier and Type | Method and Description |
---|---|
CGPoint |
CGPoint.applyAffineTransform(CGAffineTransform t)
Applies the specified affine transformation to this point.
|
CGPoint |
CGPath.getCurrentPoint()
Return the last point of this path
|
CGPoint |
CGRect.getOrigin() |
CGPoint |
CGContext.getTextPosition()
Returns the position at which the text should be drawn for this graphics
context.
|
static CGPoint |
CGPoint.zero()
Constructs and returns a default CGRect object located at (0,0) with 0
weight and 0 height.
|
Modifier and Type | Method and Description |
---|---|
void |
CGPath.addLines(CGAffineTransform transf,
CGPoint... points)
Add a list of lines to the path.
|
void |
CGContext.addLines(CGPoint... points)
Adds the specified, by the given points line, to the current path of this
graphics context.
|
boolean |
CGRect.containsPoint(CGPoint point)
Returns true if point relative to its parent is inside current CGRect
|
void |
CGContext.drawLinearGradient(CGGradient gradient,
CGPoint startPoint,
CGPoint endPoint,
int CGGradientDrawingOptions)
Draws linear gradient for the specified area of this graphics context.
|
void |
CGContext.drawRadialGradient(CGGradient gradient,
CGPoint startCenter,
double startRadius,
CGPoint endCenter,
double endRadius,
int CGGradientDrawingOptions)
Draws a radial gradient for the specified area of defined by the given
circles this graphics context.
|
void |
CGRect.setOrigin(CGPoint origin) |
void |
CGContext.strokeLineSegments(CGPoint... points)
Strokes the line specified by the given points of this graphics context.
|
Modifier and Type | Method and Description |
---|---|
static CGSize |
NSString.drawAtPoint(String self,
CGPoint point,
UIFont font)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CGPoint |
MKAnnotationView.calloutOffset()
Returns the offset of the default map accessory view expressed in points.
|
CGPoint |
MKAnnotationView.centerOffset()
Returns the offset of the annotation view expressed in points.
|
CGPoint |
MKMapView.convertCoordinate(CLLocationCoordinate2D coordinate,
UIView view)
Converts the specified coordinates to a point in the specified view.
|
CGPoint |
MKOverlayView.pointForMapPoint(MKMapPoint mapPoint)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CLLocationCoordinate2D |
MKMapView.convertPoint(CGPoint point,
UIView view)
Converts the specified point of the given view to this map's coordinates.
|
MKMapPoint |
MKOverlayView.mapPointForPoint(CGPoint point)
Deprecated.
|
void |
MKAnnotationView.setCalloutOffset(CGPoint calloutOffset)
Sets the offset of the default map accessory view expressed in points.
|
void |
MKAnnotationView.setCenterOffset(CGPoint centerOffset)
Sets the offset of the annotation view expressed in points.
|
Modifier and Type | Method and Description |
---|---|
CGPoint |
CALayer.anchorPoint()
Returns the anchor point of this CALayer.
|
Modifier and Type | Method and Description |
---|---|
void |
CALayer.setAnchorPoint(CGPoint point)
Sets the anchor point of this CALayer.
|
Modifier and Type | Method and Description |
---|---|
CGPoint |
UIView.center()
Returns the center of this view.
|
CGPoint |
UIScrollView.contentOffset()
Returns the offset for the origin of the content, inside a scroll view,
relative to the origin of the scroll view.
|
CGPoint |
UIView.convertPointFromView(CGPoint point,
UIView view)
Returns the point parameter converted from the coordinate system of the
view parameter to this view's coordinate system.
|
CGPoint |
UIWindow.convertPointFromWindow(CGPoint point,
UIWindow window)
Adjusts a point's coordinates from a given window to this window.
|
CGPoint |
UIView.convertPointToView(CGPoint point,
UIView view)
Returns the parameter point converted from this view's coordinate system
to the coordinate system of the parameter.
|
CGPoint |
UIWindow.convertPointToWindow(CGPoint point,
UIWindow window)
Adjusts a point's coordinates defined in this window to another given
window.
|
CGPoint |
UIGestureRecognizer.locationInView(UIView view)
Returns the location of the gesture for this receiver, expressed in the
coordinate system of the view that is passed as parameter.
|
CGPoint |
UITouch.locationInView(UIView request)
Returns the position of the receiver expressed in current view's
coordinate system.
|
CGPoint |
UIGestureRecognizer.locationOfTouch(int touch,
UIView view)
Returns the location of the touch parameter expressed in the coordinate
system of the view that is passed as parameter.
|
CGPoint |
UIPanGestureRecognizer.translationInView(UIView view)
Returns the translation value in the coordinate system of the specified
view.
|
CGPoint |
UIPanGestureRecognizer.velocityInView(UIView view)
Returns the velocity of this pan gesture expressed as the final
point(when the gesture ends) in the coordinate system of the specified
view.
|
Modifier and Type | Method and Description |
---|---|
CGPoint |
UIView.convertPointFromView(CGPoint point,
UIView view)
Returns the point parameter converted from the coordinate system of the
view parameter to this view's coordinate system.
|
CGPoint |
UIWindow.convertPointFromWindow(CGPoint point,
UIWindow window)
Adjusts a point's coordinates from a given window to this window.
|
CGPoint |
UIView.convertPointToView(CGPoint point,
UIView view)
Returns the parameter point converted from this view's coordinate system
to the coordinate system of the parameter.
|
CGPoint |
UIWindow.convertPointToWindow(CGPoint point,
UIWindow window)
Adjusts a point's coordinates defined in this window to another given
window.
|
void |
UIImage.drawAtPoint(CGPoint point)
Draws this image using the specified benchmark point.
|
UIView |
UIScrollView.hitTest(CGPoint point,
UIEvent event) |
UIView |
UIView.hitTest(CGPoint point,
UIEvent event)
Return the view that contains the point parameter and is remotest one in
the view hierarchy tree.
|
UIView |
UIControl.hitTest(CGPoint point,
UIEvent event) |
UIView |
UIWindow.hitTest(CGPoint point,
UIEvent event) |
NSIndexPath |
UITableView.indexPathForRowAtPoint(CGPoint p)
Returns the index path that identifies the row and section of the
specified point.
|
boolean |
UIView.pointInside(CGPoint point,
UIEvent event)
Returns a Boolean value that shows whether the point parameter is in the
coordinate system of this view.This method is triggered by the specified
event parameter.
|
void |
UIView.setCenter(CGPoint center)
Sets the center for this view.
|
void |
UIScrollView.setContentOffset(CGPoint offset)
Moves this UIScrollView according to the specified offset.
|
void |
UIScrollView.setContentOffset(CGPoint offset,
boolean animated)
Moves this UIScrollView according to the specified offset using optional
animation.
|
void |
UIPanGestureRecognizer.setTranslation(CGPoint transl,
UIView view)
Sets the specified translation value for the pan gesture in the
coordinate system of the specified view.
|
Copyright © 2020. All rights reserved.