pub fn new(
        name: String,
        id: u32,
        contained_layers: Range<usize>,
        layer_record: &LayerRecord,
        psd_width: u32,
        psd_height: u32,
        group_id: Option<u32>,
    ) -> Self {
        let layer_properties = LayerProperties::from_layer_record(
            name,
            layer_record,
            psd_width,
            psd_height,
            group_id,
        );

        PsdGroup { id, contained_layers, layer_properties }
    }
/// Create a new photoshop group layer
Create a new photoshop group layer
Create a new photoshop group layer
pub fn new(
        name: String,
        id: u32,
        contained_layers: Range<usize>,
        layer_record: &LayerRecord,
        psd_width: u32,
        psd_height: u32,
        group_id: Option<u32>,
    ) -> Self {
        let layer_properties = LayerProperties::from_layer_record(
            name,
            layer_record,
            psd_width,
            psd_height,
            group_id,
        );
        PsdGroup { id, contained_layers, layer_properties }
    }
pub fn new ( name : String , id : u32 , contained_layers : Range < usize > , layer_record : & LayerRecord , psd_width : u32 , psd_height : u32 , group_id : Option < u32 > , ) -> Self { let layer_properties = LayerProperties :: from_layer_record ( name , layer_record , psd_width , psd_height , group_id , ) ; PsdGroup { id , contained_layers , layer_properties } }
Create a new photoshop group layer
Create a new photoshop group layer
name
String
id
u32
contained_layers
Range<usize>
layer_record
&LayerRecord
psd_width
u32
psd_height
u32
group_id
Option<u32>
name
String
id
u32
contained_layers
Range<usize>
layer_record
&LayerRecord
psd_width
u32
psd_height
u32
group_id
Option<u32>