美文网首页
10.10 Utility - Layer Info 图层信息

10.10 Utility - Layer Info 图层信息

作者: 刘板栗 | 来源:发表于2017-02-24 20:17 被阅读31次

    Access information about a layer.
    访问图层的信息。

    输入口
    Layer 图层
    The layer to display information for.
    要显示信息的层。

    输出口

    Enabled 启用
    A boolean that is true when the layer is enabled.
    图层启用时布尔值为真的。

    Size 尺寸
    The size of the layer. Use Size Unpack to get the individual width and height.
    图层的尺寸。 使用 Size Unpack 模块获取单独的宽和高。

    Scale 比例
    The scale of the layer.
    图层的比例。

    Anchor 锚点
    The anchor point of the layer. The value of each coordinate is a number between 0 and 1, where .5 is the center. Use Point Unpack to get the individual coordinates.
    图层的锚点。每个坐标的值是0~1之间的数字,其中.5是中心。
    使用 Point Unpack 获得各个坐标。

    Parent 父级
    The group the layer is in, or 'none' if the layer is not in a group. Connect this to another Layer Info to get information about the parent.
    图层所在的组,如果图层不在组中,则为“none”。
    将此接口连接到另一个 Layer Info 以获取有关父级的信息。


    Related Layers 相关图层

    Group,Text Layer,Rectangle,Image File,Video File


    相关文章

      网友评论

          本文标题:10.10 Utility - Layer Info 图层信息

          本文链接:https://www.haomeiwen.com/subject/kyowwttx.html