private void method_5() { VMLFill fill = this.method_20(); if (!fill.On) { this.spr᧢_0 = null; } else { if (this.shapeObject_0.IsTextureRotated) { double rotation = this.shapeObject_0.Rotation; } switch (fill.FillType) { case FillType.Pattern: this.spr᧢_0 = Class1075.smethod_2(fill.ImageBytes, this.class724_0.method_11(), sprⓚ.ᜀ(fill.ColorInternal), sprⓚ.ᜀ(fill.Color2Internal)); return; case FillType.Texture: this.spr᧢_0 = Class1075.smethod_15(fill, this.class724_0.method_11(), this.class316_0); return; case FillType.Picture: this.spr᧢_0 = Class1075.smethod_3(fill, this.class724_0.method_11(), this.class316_0); return; case FillType.Shade: case FillType.ShadeScale: case FillType.ShadeTitle: case FillType.ShadeUnscale: this.spr᧢_0 = Class1075.smethod_14(this.shapeObject_0, this.sizeF_1); return; case FillType.ShadeCenter: this.spr᧢_0 = Class1075.smethod_13(this.shapeObject_0, this.sizeF_1); return; case FillType.ShadeShape: this.spr᧢_0 = this.method_28().IsWordArt ? Class1075.smethod_13(this.shapeObject_0, this.sizeF_1) : Class1075.smethod_6(this.sprᲆ_0, fill, new PointF(this.sizeF_1.Width * 0.5f, this.sizeF_1.Height * 0.5f)); return; } this.spr᧢_0 = Class1075.smethod_1(sprⓚ.ᜀ(fill.ColorInternal), fill.Opacity); } }
private void method_2() { Class826 stroke = this.shapeObject_0.Stroke; if (!stroke.method_0()) { this.spr⚪_0 = null; } else { switch (stroke.method_12()) { case LineFillType.Pattern: { spr᧢ r᧢2 = Class1075.smethod_2(stroke.method_36(), null, sprឦ.ᜀ(stroke.method_6()), sprឦ.ᜀ(stroke.method_10())); this.spr⚪_0 = new spr⚪(r᧢2); break; } case LineFillType.Texture: case LineFillType.Picture: { spr⍂ r⍂ = new spr⍂(stroke.method_36()); this.spr⚪_0 = new spr⚪(r⍂); break; } default: { spr᧢ r᧢ = Class1075.smethod_1(sprⓚ.ᜀ(stroke.method_6()), stroke.method_34()); this.spr⚪_0 = new spr⚪(r᧢); break; } } this.spr⚪_0.ᜀ(Class1022.smethod_2(stroke.method_16())); this.spr⚪_0.ᜂ(this.method_27()); this.method_3(stroke); this.method_4(stroke); LineCap cap = Class1022.smethod_3(stroke.method_18()); this.spr⚪_0.ᜀ(Class1022.smethod_4(stroke.method_18())); this.spr⚪_0.ᜀ(cap); this.spr⚪_0.ᜁ(cap); } }