[ios]UI

1.bounds frame center

  //bounds size增加是中心为基准的增加 上下 或左右各半增加 不影响bounds x y 影响framex y

    //frame size增加是以左上角为基准的 向右 或者向下增加 不影响bounds x y 不影响framex y

    //bounds是自己这个view纬度上的 坐标系

    //frameview纬度上的坐标系

    //bounds中修改 size会影响到frame x y

    //frame中修改size不会影响到 bounds x y

 

center 是表示这个view的中心点在父view的坐标系的 x,y(ponit)

猜你喜欢

转载自poolo.iteye.com/blog/1692216