zoukankan      html  css  js  c++  java
  • calayer 的特殊属性整理

    calayer:

    An object that manages image-based content and allows you to perform animations on that content.

    - (nullable instancetype)presentationLayer;

    - (instancetype)modelLayer;

    @property(nullable, strong) __kindof CALayer *mask;

    @property BOOL masksToBounds;

    /* Reload the content of this layer. Calls the -drawInContext: method

     * then updates the `contents' property of the layer. Typically this is

     * not called directly. */

    - (void)display;

    @property BOOL drawsAsynchronously

    @property BOOL allowsEdgeAntialiasing

        API_AVAILABLE(macos(10.10), ios(2.0), watchos(2.0), tvos(9.0));

    @property BOOL allowsGroupOpacity

    /* When true, the layer is rendered as a bitmap in its local coordinate

     * space ("rasterized"), then the bitmap is composited into the

     * destination 

    @property BOOL shouldRasterize;

  • 相关阅读:
    Javascript中String()和new String()的区别——JS的包装对象
    文言色彩的客套话之感想
    面试时候可以问的问题集锦
    ES6的原始类型数据——Symbol
    python
    python
    python
    python
    python
    python
  • 原文地址:https://www.cnblogs.com/feng9exe/p/10339446.html
Copyright © 2011-2022 走看看