Class QuartzCore


  • public final class QuartzCore
    extends java.lang.Object
    • Method Detail

      • CACurrentMediaTime

        public static double CACurrentMediaTime()
        Returns the current CoreAnimation absolute time. This is the result of calling mach_absolute_time () and converting the units to seconds. API-Since: 2.0
      • CATransform3DIsIdentity

        public static boolean CATransform3DIsIdentity​(CATransform3D t)
        Returns true if 't' is the identity transform. API-Since: 2.0
      • CATransform3DEqualToTransform

        public static boolean CATransform3DEqualToTransform​(CATransform3D a,
                                                            CATransform3D b)
        Returns true if 'a' is exactly equal to 'b'. API-Since: 2.0
      • CATransform3DMakeTranslation

        public static CATransform3D CATransform3DMakeTranslation​(double tx,
                                                                 double ty,
                                                                 double tz)
        Returns a transform that translates by '(tx, ty, tz)': t' = [1 0 0 0; 0 1 0 0; 0 0 1 0; tx ty tz 1]. API-Since: 2.0
      • CATransform3DMakeScale

        public static CATransform3D CATransform3DMakeScale​(double sx,
                                                           double sy,
                                                           double sz)
        Returns a transform that scales by `(sx, sy, sz)': t' = [sx 0 0 0; 0 sy 0 0; 0 0 sz 0; 0 0 0 1]. API-Since: 2.0
      • CATransform3DMakeRotation

        public static CATransform3D CATransform3DMakeRotation​(double angle,
                                                              double x,
                                                              double y,
                                                              double z)
        Returns a transform that rotates by 'angle' radians about the vector '(x, y, z)'. If the vector has length zero the identity transform is returned. API-Since: 2.0
      • CATransform3DTranslate

        public static CATransform3D CATransform3DTranslate​(CATransform3D t,
                                                           double tx,
                                                           double ty,
                                                           double tz)
        Translate 't' by '(tx, ty, tz)' and return the result: t' = translate(tx, ty, tz) * t. API-Since: 2.0
      • CATransform3DScale

        public static CATransform3D CATransform3DScale​(CATransform3D t,
                                                       double sx,
                                                       double sy,
                                                       double sz)
        Scale 't' by '(sx, sy, sz)' and return the result: t' = scale(sx, sy, sz) * t. API-Since: 2.0
      • CATransform3DRotate

        public static CATransform3D CATransform3DRotate​(CATransform3D t,
                                                        double angle,
                                                        double x,
                                                        double y,
                                                        double z)
        Rotate 't' by 'angle' radians about the vector '(x, y, z)' and return the result. If the vector has zero length the behavior is undefined: t' = rotation(angle, x, y, z) * t. API-Since: 2.0
      • CATransform3DInvert

        public static CATransform3D CATransform3DInvert​(CATransform3D t)
        Invert 't' and return the result. Returns the original matrix if 't' has no inverse. API-Since: 2.0
      • CATransform3DMakeAffineTransform

        public static CATransform3D CATransform3DMakeAffineTransform​(CGAffineTransform m)
        Return a transform with the same effect as affine transform 'm'. API-Since: 2.0
      • CATransform3DIsAffine

        public static boolean CATransform3DIsAffine​(CATransform3D t)
        Returns true if 't' can be represented exactly by an affine transform. API-Since: 2.0
      • CATransform3DGetAffineTransform

        public static CGAffineTransform CATransform3DGetAffineTransform​(CATransform3D t)
        Returns the affine transform represented by 't'. If 't' can not be represented exactly by an affine transform the returned value is undefined. API-Since: 2.0
      • CATransform3DIdentity

        public static CATransform3D CATransform3DIdentity()
        The identity transform: [1 0 0 0; 0 1 0 0; 0 0 1 0; 0 0 0 1]. API-Since: 2.0
      • kCAFillModeForwards

        @NotNull
        public static @NotNull java.lang.String kCAFillModeForwards()
        `fillMode' options. API-Since: 2.0
      • kCAFillModeBackwards

        @NotNull
        public static @NotNull java.lang.String kCAFillModeBackwards()
        API-Since: 2.0
      • kCAFillModeBoth

        @NotNull
        public static @NotNull java.lang.String kCAFillModeBoth()
        API-Since: 2.0
      • kCAFillModeRemoved

        @NotNull
        public static @NotNull java.lang.String kCAFillModeRemoved()
        API-Since: 2.0
      • kCAGravityCenter

        @NotNull
        public static @NotNull java.lang.String kCAGravityCenter()
        Layer `contentsGravity' values. * API-Since: 2.0
      • kCAGravityTop

        @NotNull
        public static @NotNull java.lang.String kCAGravityTop()
        API-Since: 2.0
      • kCAGravityBottom

        @NotNull
        public static @NotNull java.lang.String kCAGravityBottom()
        API-Since: 2.0
      • kCAGravityLeft

        @NotNull
        public static @NotNull java.lang.String kCAGravityLeft()
        API-Since: 2.0
      • kCAGravityRight

        @NotNull
        public static @NotNull java.lang.String kCAGravityRight()
        API-Since: 2.0
      • kCAGravityTopLeft

        @NotNull
        public static @NotNull java.lang.String kCAGravityTopLeft()
        API-Since: 2.0
      • kCAGravityTopRight

        @NotNull
        public static @NotNull java.lang.String kCAGravityTopRight()
        API-Since: 2.0
      • kCAGravityBottomLeft

        @NotNull
        public static @NotNull java.lang.String kCAGravityBottomLeft()
        API-Since: 2.0
      • kCAGravityBottomRight

        @NotNull
        public static @NotNull java.lang.String kCAGravityBottomRight()
        API-Since: 2.0
      • kCAGravityResize

        @NotNull
        public static @NotNull java.lang.String kCAGravityResize()
        API-Since: 2.0
      • kCAGravityResizeAspect

        @NotNull
        public static @NotNull java.lang.String kCAGravityResizeAspect()
        API-Since: 2.0
      • kCAGravityResizeAspectFill

        @NotNull
        public static @NotNull java.lang.String kCAGravityResizeAspectFill()
        API-Since: 2.0
      • kCAContentsFormatRGBA8Uint

        @NotNull
        public static @NotNull java.lang.String kCAContentsFormatRGBA8Uint()
        RGBA UInt8 per component API-Since: 10.0
      • kCAContentsFormatRGBA16Float

        @NotNull
        public static @NotNull java.lang.String kCAContentsFormatRGBA16Float()
        RGBA half-float 16-bit per component API-Since: 10.0
      • kCAContentsFormatGray8Uint

        @NotNull
        public static @NotNull java.lang.String kCAContentsFormatGray8Uint()
        Grayscale with alpha (if not opaque) UInt8 per component API-Since: 10.0
      • kCAFilterNearest

        @NotNull
        public static @NotNull java.lang.String kCAFilterNearest()
        Contents filter names. * API-Since: 2.0
      • kCAFilterLinear

        @NotNull
        public static @NotNull java.lang.String kCAFilterLinear()
        API-Since: 2.0
      • kCAFilterTrilinear

        @NotNull
        public static @NotNull java.lang.String kCAFilterTrilinear()
        Trilinear minification filter. Enables mipmap generation. Some renderers may ignore this, or impose additional restrictions, such as source images requiring power-of-two dimensions. API-Since: 3.0
      • kCAOnOrderIn

        @NotNull
        public static @NotNull java.lang.String kCAOnOrderIn()
        Layer event names. * API-Since: 2.0
      • kCAOnOrderOut

        @NotNull
        public static @NotNull java.lang.String kCAOnOrderOut()
        API-Since: 2.0
      • kCATransition

        @NotNull
        public static @NotNull java.lang.String kCATransition()
        The animation key used for transitions. * API-Since: 2.0
      • kCAAnimationLinear

        @NotNull
        public static @NotNull java.lang.String kCAAnimationLinear()
        `calculationMode' strings. API-Since: 2.0
      • kCAAnimationDiscrete

        @NotNull
        public static @NotNull java.lang.String kCAAnimationDiscrete()
        API-Since: 2.0
      • kCAAnimationPaced

        @NotNull
        public static @NotNull java.lang.String kCAAnimationPaced()
        API-Since: 2.0
      • kCAAnimationCubic

        @NotNull
        public static @NotNull java.lang.String kCAAnimationCubic()
        API-Since: 4.0
      • kCAAnimationCubicPaced

        @NotNull
        public static @NotNull java.lang.String kCAAnimationCubicPaced()
        API-Since: 4.0
      • kCAAnimationRotateAuto

        @NotNull
        public static @NotNull java.lang.String kCAAnimationRotateAuto()
        `rotationMode' strings. API-Since: 2.0
      • kCAAnimationRotateAutoReverse

        @NotNull
        public static @NotNull java.lang.String kCAAnimationRotateAutoReverse()
        API-Since: 2.0
      • kCATransitionFade

        @NotNull
        public static @NotNull java.lang.String kCATransitionFade()
        Common transition types. API-Since: 2.0
      • kCATransitionMoveIn

        @NotNull
        public static @NotNull java.lang.String kCATransitionMoveIn()
        API-Since: 2.0
      • kCATransitionPush

        @NotNull
        public static @NotNull java.lang.String kCATransitionPush()
        API-Since: 2.0
      • kCATransitionReveal

        @NotNull
        public static @NotNull java.lang.String kCATransitionReveal()
        API-Since: 2.0
      • kCATransitionFromRight

        @NotNull
        public static @NotNull java.lang.String kCATransitionFromRight()
        Common transition subtypes. API-Since: 2.0
      • kCATransitionFromLeft

        @NotNull
        public static @NotNull java.lang.String kCATransitionFromLeft()
        API-Since: 2.0
      • kCATransitionFromTop

        @NotNull
        public static @NotNull java.lang.String kCATransitionFromTop()
        API-Since: 2.0
      • kCATransitionFromBottom

        @NotNull
        public static @NotNull java.lang.String kCATransitionFromBottom()
        API-Since: 2.0
      • kCAEmitterLayerPoint

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerPoint()
        `emitterShape' values. * API-Since: 5.0
      • kCAEmitterLayerLine

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerLine()
        API-Since: 5.0
      • kCAEmitterLayerRectangle

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerRectangle()
        API-Since: 5.0
      • kCAEmitterLayerCuboid

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerCuboid()
        API-Since: 5.0
      • kCAEmitterLayerCircle

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerCircle()
        API-Since: 5.0
      • kCAEmitterLayerSphere

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerSphere()
        API-Since: 5.0
      • kCAEmitterLayerPoints

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerPoints()
        `emitterMode' values. * API-Since: 5.0
      • kCAEmitterLayerOutline

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerOutline()
        API-Since: 5.0
      • kCAEmitterLayerSurface

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerSurface()
        API-Since: 5.0
      • kCAEmitterLayerVolume

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerVolume()
        API-Since: 5.0
      • kCAEmitterLayerUnordered

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerUnordered()
        `renderMode' values. * API-Since: 5.0
      • kCAEmitterLayerOldestFirst

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerOldestFirst()
        API-Since: 5.0
      • kCAEmitterLayerOldestLast

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerOldestLast()
        API-Since: 5.0
      • kCAEmitterLayerBackToFront

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerBackToFront()
        API-Since: 5.0
      • kCAEmitterLayerAdditive

        @NotNull
        public static @NotNull java.lang.String kCAEmitterLayerAdditive()
        API-Since: 5.0
      • kCAGradientLayerAxial

        @NotNull
        public static @NotNull java.lang.String kCAGradientLayerAxial()
        `type' values. * API-Since: 3.0
      • kCAMediaTimingFunctionLinear

        @NotNull
        public static @NotNull java.lang.String kCAMediaTimingFunctionLinear()
        Timing function names. * API-Since: 2.0
      • kCAMediaTimingFunctionEaseIn

        @NotNull
        public static @NotNull java.lang.String kCAMediaTimingFunctionEaseIn()
        API-Since: 2.0
      • kCAMediaTimingFunctionEaseOut

        @NotNull
        public static @NotNull java.lang.String kCAMediaTimingFunctionEaseOut()
        API-Since: 2.0
      • kCAMediaTimingFunctionEaseInEaseOut

        @NotNull
        public static @NotNull java.lang.String kCAMediaTimingFunctionEaseInEaseOut()
        API-Since: 2.0
      • kCAMediaTimingFunctionDefault

        @NotNull
        public static @NotNull java.lang.String kCAMediaTimingFunctionDefault()
        API-Since: 3.0
      • kCAScrollNone

        @NotNull
        public static @NotNull java.lang.String kCAScrollNone()
        `scrollMode' values. API-Since: 2.0
      • kCAScrollVertically

        @NotNull
        public static @NotNull java.lang.String kCAScrollVertically()
        API-Since: 2.0
      • kCAScrollHorizontally

        @NotNull
        public static @NotNull java.lang.String kCAScrollHorizontally()
        API-Since: 2.0
      • kCAScrollBoth

        @NotNull
        public static @NotNull java.lang.String kCAScrollBoth()
        API-Since: 2.0
      • kCAFillRuleNonZero

        @NotNull
        public static @NotNull java.lang.String kCAFillRuleNonZero()
        `fillRule' values. API-Since: 3.0
      • kCAFillRuleEvenOdd

        @NotNull
        public static @NotNull java.lang.String kCAFillRuleEvenOdd()
        API-Since: 3.0
      • kCALineJoinMiter

        @NotNull
        public static @NotNull java.lang.String kCALineJoinMiter()
        `lineJoin' values. API-Since: 3.0
      • kCALineJoinRound

        @NotNull
        public static @NotNull java.lang.String kCALineJoinRound()
        API-Since: 3.0
      • kCALineJoinBevel

        @NotNull
        public static @NotNull java.lang.String kCALineJoinBevel()
        API-Since: 3.0
      • kCALineCapButt

        @NotNull
        public static @NotNull java.lang.String kCALineCapButt()
        `lineCap' values. API-Since: 3.0
      • kCALineCapRound

        @NotNull
        public static @NotNull java.lang.String kCALineCapRound()
        API-Since: 3.0
      • kCALineCapSquare

        @NotNull
        public static @NotNull java.lang.String kCALineCapSquare()
        API-Since: 3.0
      • kCATruncationNone

        @NotNull
        public static @NotNull java.lang.String kCATruncationNone()
        Truncation modes. API-Since: 3.2
      • kCATruncationStart

        @NotNull
        public static @NotNull java.lang.String kCATruncationStart()
        API-Since: 3.2
      • kCATruncationEnd

        @NotNull
        public static @NotNull java.lang.String kCATruncationEnd()
        API-Since: 3.2
      • kCATruncationMiddle

        @NotNull
        public static @NotNull java.lang.String kCATruncationMiddle()
        API-Since: 3.2
      • kCAAlignmentNatural

        @NotNull
        public static @NotNull java.lang.String kCAAlignmentNatural()
        Alignment modes. API-Since: 3.2
      • kCAAlignmentLeft

        @NotNull
        public static @NotNull java.lang.String kCAAlignmentLeft()
        API-Since: 3.2
      • kCAAlignmentRight

        @NotNull
        public static @NotNull java.lang.String kCAAlignmentRight()
        API-Since: 3.2
      • kCAAlignmentCenter

        @NotNull
        public static @NotNull java.lang.String kCAAlignmentCenter()
        API-Since: 3.2
      • kCAAlignmentJustified

        @NotNull
        public static @NotNull java.lang.String kCAAlignmentJustified()
        API-Since: 3.2
      • kCATransactionAnimationDuration

        @NotNull
        public static @NotNull java.lang.String kCATransactionAnimationDuration()
        Transaction property ids. * API-Since: 2.0
      • kCATransactionDisableActions

        @NotNull
        public static @NotNull java.lang.String kCATransactionDisableActions()
        API-Since: 2.0
      • kCATransactionAnimationTimingFunction

        @NotNull
        public static @NotNull java.lang.String kCATransactionAnimationTimingFunction()
        API-Since: 3.0
      • kCATransactionCompletionBlock

        @NotNull
        public static @NotNull java.lang.String kCATransactionCompletionBlock()
        API-Since: 4.0
      • kCAValueFunctionRotateX

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionRotateX()
        The `rotateX', `rotateY', `rotateZ' functions take a single input value in radians, and construct a 4x4 matrix representing the corresponding rotation matrix. API-Since: 3.0
      • kCAValueFunctionRotateY

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionRotateY()
        API-Since: 3.0
      • kCAValueFunctionRotateZ

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionRotateZ()
        API-Since: 3.0
      • kCAValueFunctionScale

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionScale()
        The `scale' function takes three input values and constructs a 4x4 matrix representing the corresponding scale matrix. API-Since: 3.0
      • kCAValueFunctionScaleX

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionScaleX()
        The `scaleX', `scaleY', `scaleZ' functions take a single input value and construct a 4x4 matrix representing the corresponding scaling matrix. API-Since: 3.0
      • kCAValueFunctionScaleY

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionScaleY()
        API-Since: 3.0
      • kCAValueFunctionScaleZ

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionScaleZ()
        API-Since: 3.0
      • kCAValueFunctionTranslate

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionTranslate()
        The `translate' function takes three input values and constructs a 4x4 matrix representing the corresponding scale matrix. API-Since: 3.0
      • kCAValueFunctionTranslateX

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionTranslateX()
        The `translateX', `translateY', `translateZ' functions take a single input value and construct a 4x4 matrix representing the corresponding translation matrix. API-Since: 3.0
      • kCAValueFunctionTranslateY

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionTranslateY()
        API-Since: 3.0
      • kCAValueFunctionTranslateZ

        @NotNull
        public static @NotNull java.lang.String kCAValueFunctionTranslateZ()
        API-Since: 3.0
      • kCACornerCurveCircular

        @NotNull
        public static @NotNull java.lang.String kCACornerCurveCircular()
        Corner curve names. * API-Since: 13.0
      • kCACornerCurveContinuous

        @NotNull
        public static @NotNull java.lang.String kCACornerCurveContinuous()
        API-Since: 13.0
      • kCAGradientLayerRadial

        @NotNull
        public static @NotNull java.lang.String kCAGradientLayerRadial()
        Radial gradient. The gradient is defined as an ellipse with its center at 'startPoint' and its width and height defined by '(endPoint.x - startPoint.x) * 2' and '(endPoint.y - startPoint.y) * 2' respectively. API-Since: 3.2
      • kCAGradientLayerConic

        @NotNull
        public static @NotNull java.lang.String kCAGradientLayerConic()
        Conic gradient. The gradient is centered at 'startPoint' and its 0-degrees direction is defined by a vector spanned between 'startPoint' and 'endPoint'. When 'startPoint' and 'endPoint' overlap the results are undefined. The gradient's angle increases in the direction of rotation of positive x-axis towards positive y-axis. API-Since: 12.0
      • CAFrameRateRangeMake

        public static CAFrameRateRange CAFrameRateRangeMake​(float minimum,
                                                            float maximum,
                                                            float preferred)
        API-Since: 15.0
      • CAFrameRateRangeDefault

        public static CAFrameRateRange CAFrameRateRangeDefault()
        API-Since: 15.0
      • kCARendererColorSpace

        @NotNull
        public static @NotNull java.lang.String kCARendererColorSpace()
        The CGColorSpaceRef object defining the output color space. API-Since: 2.0
      • kCARendererMetalCommandQueue

        @NotNull
        public static @NotNull java.lang.String kCARendererMetalCommandQueue()
        The Metal Command Queue object against which to submit work. If the client provides a queue, then we will only commit our command buffer and let the client handle it's own synchronization and/or resource synchronization blits. If none is provided, then we will use an internal queue which automatically commits and waitUntilScheduled. API-Since: 12.0