Package | Description |
---|---|
crossmobile.ios.coregraphics | |
crossmobile.ios.coreimage | |
crossmobile.ios.mapkit | |
crossmobile.ios.mediaplayer | |
crossmobile.ios.uikit | |
crossmobile.ios.webkit |
Modifier and Type | Method and Description |
---|---|
CGRect |
CGRect.applyAffineTransform(CGAffineTransform t)
Applies the specified affine transformation to this rectangle.
|
CGRect |
CGContext.getClipBoundingBox()
Returns the bounding box that encloses all the points of the current
clipping path of this graphics context.
|
static CGRect |
CGRect.infinite()
Returns a rectangle that has no defined bounds.
|
CGRect |
CGRect.intersection(CGRect other)
Returns the intersection of this rectangle with the specified rectangle.
|
static CGRect |
CGRect.Null()
Returns a NULL rectangle.
|
static CGRect |
CGRect.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.addEllipseInRect(CGAffineTransform transf,
CGRect rect)
Add an ellipse to this path
|
void |
CGPath.addRect(CGAffineTransform transf,
CGRect rect)
Add a rectangular area to this path
|
void |
CGContext.addRect(CGRect rect)
Adds the specified rectangular path to the current path of this graphics
context.
|
void |
CGPath.addRects(CGAffineTransform transf,
CGRect... rects)
Add a list of rectangles to this path.
|
void |
CGContext.addRects(CGRect... rects)
Adds the specified rectangular paths to the current path of this graphics
context.
|
void |
CGPath.addRoundedRect(CGAffineTransform transf,
CGRect rect,
double cornerWidth,
double cornerHeight) |
void |
CGContext.clipToRect(CGRect frame)
Sets as clipping path the intersection of the current clipping path with
the specified rectangle in this graphics context.
|
static CGImage |
CGImage.createWithImageInRect(CGImage image,
CGRect rect)
Constructs and returns a CGImage using the data of specified image that
are contained within the given rectangle.
|
void |
CGContext.drawImage(CGRect rect,
CGImage image)
Draws the specified image within the given rectangle of this graphics
context.
|
void |
CGContext.fillEllipseInRect(CGRect rect)
Paints the ellipse of the specified rectangular for this graphics
context.
|
void |
CGContext.fillRect(CGRect rect)
Paints the specified rectangular using the current preferred fill color
of this graphics context.
|
CGRect |
CGRect.intersection(CGRect other)
Returns the intersection of this rectangle with the specified rectangle.
|
void |
CGContext.strokeEllipseInRect(CGRect rect)
Strokes the ellipse of the specified rectangular for this graphics
context.
|
void |
CGContext.strokeRect(CGRect rect)
Paints the specified rectangular using the current stroke color.
|
Modifier and Type | Method and Description |
---|---|
CGImage |
CIContext.createCGImage(CIImage image,
CGRect fromRect)
Constructs and returns a new CGImage object using the specified rectangle
area of the specified image.
|
Modifier and Type | Method and Description |
---|---|
CGRect |
MKMapView.annotationVisibleRect()
Returns the rectangle that encloses the visible annotations.
|
CGRect |
MKMapView.convertRegion(MKCoordinateRegion region,
UIView view)
Converts the specified region of this map to a rectangle in the specified
view.
|
CGRect |
MKOverlayView.rectForMapRect(MKMapRect mapRect)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MKCoordinateRegion |
MKMapView.convertRect(CGRect rect,
UIView view)
Converts the specified rectangle of the given view to a map region.
|
MKMapRect |
MKOverlayView.mapRectForRect(CGRect rect)
Deprecated.
|
Constructor and Description |
---|
MKMapView(CGRect frame)
Constructs a MKMapView object initialized with the dimensions and
position specified in the frame parameter.
|
Constructor and Description |
---|
MPVolumeView(CGRect frame)
Constructs a new MPVolumeView object with the specified frame.
|
Modifier and Type | Method and Description |
---|---|
CGRect |
UIScreen.applicationFrame()
Deprecated.
|
CGRect |
UIScreen.bounds()
Returns the rectangle that encloses the screen.
|
CGRect |
UIView.bounds()
Returns the bounds of this view in its own coordinate system expressed
using CGRect structure.
|
CGRect |
UIView.convertRectFromView(CGRect rect,
UIView view)
Returns the parameter rectangle converted from the parameter's view
coordinate system to this view coordinate system.
|
CGRect |
UIWindow.convertRectFromWindow(CGRect point,
UIWindow window)
Adjusts a rectangle of a given window's coordinate system to the
coordinate system of this window.
|
CGRect |
UIView.convertRectToView(CGRect rect,
UIView view)
Returns the parameter rectangle converted from this view's coordinate
system to the coordinate system of the parameter.
|
CGRect |
UIWindow.convertRectToWindow(CGRect point,
UIWindow window)
Adjusts a rectangle of this window to the coordinate system of given
window.
|
CGRect |
UIView.frame()
Returns a structure that is used to define view's dimensions and position
in the coordinate system of its superview.
|
CGRect |
UILayoutGuide.layoutFrame()
The frame of this layout guide expressed in the coordinate system of the
view that own it.
|
CGRect |
UILabel.textRectForBounds(CGRect bounds,
int numberOfLines)
Calculate the required dimension for this UILabel, that the desired text could be drawn in
|
Modifier and Type | Method and Description |
---|---|
CGRect |
UIView.convertRectFromView(CGRect rect,
UIView view)
Returns the parameter rectangle converted from the parameter's view
coordinate system to this view coordinate system.
|
CGRect |
UIWindow.convertRectFromWindow(CGRect point,
UIWindow window)
Adjusts a rectangle of a given window's coordinate system to the
coordinate system of this window.
|
CGRect |
UIView.convertRectToView(CGRect rect,
UIView view)
Returns the parameter rectangle converted from this view's coordinate
system to the coordinate system of the parameter.
|
CGRect |
UIWindow.convertRectToWindow(CGRect point,
UIWindow window)
Adjusts a rectangle of this window to the coordinate system of given
window.
|
default void |
UIApplicationDelegate.didChangeStatusBarFrame(UIApplication app,
CGRect oldStatusBarFrame)
Used in order to handle the fact that the frame of the status bar has
changed.
|
void |
UIImage.drawInRect(CGRect rect)
Draws this image within the specified rectangle.
|
void |
UITableView.drawRect(CGRect rect) |
void |
UIImageView.drawRect(CGRect rect) |
void |
UISwitch.drawRect(CGRect rect) |
void |
UIPageControl.drawRect(CGRect rect3) |
void |
UILabel.drawRect(CGRect rect) |
void |
UITextField.drawRect(CGRect rect) |
void |
UIView.drawRect(CGRect rect)
This method is implicitly called when a view is first displayed or when
an event occurs that invalidates a visible part of the view and the view
needs to be redrawn.
|
void |
UISlider.drawRect(CGRect rect) |
void |
UITextView.drawRect(CGRect rect) |
void |
UINavigationBar.drawRect(CGRect rect) |
void |
UIProgressView.drawRect(CGRect rect) |
void |
UIActivityIndicatorView.drawRect(CGRect rect) |
void |
UIButton.drawRect(CGRect rect) |
void |
UIWebView.drawRect(CGRect rect) |
void |
UIToolbar.drawRect(CGRect rect) |
void |
UILabel.drawTextInRect(CGRect rect)
Actual procedure of drawing text in this label
|
boolean |
UIPrintInteractionController.presentFromRect(CGRect p1,
UIView p2,
boolean p3,
UIPrintInteractionCompletionHandler p4)
Displays the printing user interface in a popover that can be animated
from any area in a view.
|
void |
UIPopoverController.presentPopoverFromRect(CGRect rect,
UIView view,
long arrowDirections,
boolean animated)
Deprecated.
Displays the popover using animation or not and anchor it to the
specified location of the view.
|
void |
UIScrollView.scrollRectToVisible(CGRect rect,
boolean animated)
Scrolls the specified area in order to be visible using animation or not.
|
void |
UIView.setBounds(CGRect rect)
Sets the bounds for this view in its own coordinate system as described
by the CGRect structure parameter.
|
void |
UIStepper.setFrame(CGRect frame) |
void |
UISwitch.setFrame(CGRect frame) |
void |
UILabel.setFrame(CGRect frame) |
void |
UIView.setFrame(CGRect frame)
Sets view's dimensions and position according to the structure specified
as frame parameter.
|
void |
UIButton.setFrame(CGRect frame) |
CGRect |
UILabel.textRectForBounds(CGRect bounds,
int numberOfLines)
Calculate the required dimension for this UILabel, that the desired text could be drawn in
|
default void |
UIApplicationDelegate.willChangeStatusBarFrame(UIApplication app,
CGRect oldStatusBarFrame)
It is used in order to handle the fact that the frame of the status bar
is about to change.
|
Constructor and Description |
---|
UIControl(CGRect rect)
Constructs a UIControl object initialized with the dimensions and
position specified in the rect parameter.
|
UIDatePicker(CGRect rect)
Constructs a UIDatePicker object initialized with the dimensions and
position specified in the rect parameter.
|
UIImageView(CGRect rect)
Constructs a UIImageView object initialized with the dimensions and
position specified in the rect parameter.
|
UILabel(CGRect frame)
Constructs a UILabel object using the specified rectangle.
|
UINavigationBar(CGRect rect)
Constructs a UINavigationBar object initialized with the dimensions and
position specified in the rect parameter.
|
UIPageControl(CGRect rect)
Constructs a UIPageControl object initialized with the dimensions and
position specified in the rect parameter.
|
UIPickerView(CGRect rect)
Constructs a UIPickerView object initialized with the dimensions and
position specified in the rect parameter.
|
UIScrollView(CGRect frame)
Constructs a UIScrollView object initialized with the dimensions and
position specified in the frame parameter.
|
UISearchBar(CGRect rect)
Constructs a UISearchBar object initialized with the dimensions and
position specified in the rect parameter.
|
UISegmentedControl(CGRect rect)
Constructs a UIWindow object initialized with the dimensions and position
specified in the rect parameter.
|
UISlider(CGRect rect)
Constructs a slider object initialized with the dimensions and position
specified in the frame parameter.
|
UIStepper(CGRect frame)
Constructs a UIStepper object initialized with the dimensions and
position specified in the frame parameter.
|
UISwitch(CGRect rect)
Constructs a UISwitch object initialized with the dimensions and position
specified in the rect parameter.
|
UITabBar(CGRect rect)
Constructs a UITabBar object initialized with the dimensions and position
specified in the rect parameter and the default cyan background color.
|
UITableView(CGRect rect)
Constructs a table view that covers the specified rectangular area.
|
UITableView(CGRect rect,
int UITableViewStyle)
Constructs a table view with the particular style and size.The table view
is placed it in the specified position expressed in the coordinate system
of its superview.
|
UITextField(CGRect rect)
Constructor for UITextField A UITextField object is a control that
displays editable text and sends an action message to a target object
when the user presses the return button.
|
UITextView(CGRect rect)
Constructs a UITextView object initialized with the dimensions and
position specified in the rect parameter.
|
UIToolbar(CGRect frame)
Constructs a UIToolbar object initialized with the dimensions and
position specified in the frame parameter.
|
UIView(CGRect frame)
Initializes and returns a newly allocated view object with the specified
frame rectangle.
|
UIWebView(CGRect rect)
Constructs a UIWebView object initialized with the dimensions and
position specified in the rect parameter.
|
UIWindow(CGRect frame)
Constructs a UIWindow object initialized with the dimensions and position
specified in the frame parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
WKWebView.drawRect(CGRect rect) |
Constructor and Description |
---|
WKWebView(CGRect frame) |
WKWebView(CGRect frame,
WKWebViewConfiguration configuration) |
Copyright © 2020. All rights reserved.