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); } }
private static PointF[] smethod_1(Class724 A_0, spr➓ A_1) { RectangleF ef; if (A_0.method_3().ShapeType == ShapeType.Group) { ef = smethod_2(A_1); PointF[] tfArray = spr.ᜀ(smethod_3(A_0)); smethod_4(A_0, tfArray); ef = (ef == RectangleF.Empty) ? smethod_3(A_0) : spr.ᜀ(ef, spr.ᜁ(tfArray)); return(spr.ᜀ(ef)); } ef = smethod_3(A_0); ShapeObject obj2 = (ShapeObject)A_0.method_3(); float left = ef.Left; float top = ef.Top; float right = ef.Right; float bottom = ef.Bottom; float num5 = 0f; float num6 = 0f; float num7 = 0f; float num8 = 0f; Class826 stroke = obj2.Stroke; bool flag = Class1022.smethod_1(obj2); if (stroke.method_0()) { num5 = (float)stroke.method_2(); num6 = num5; num7 = num5; num8 = num5; } float num9 = flag ? 1f : 0.5f; left -= num7 * num9; top -= num5 * num9; right += num8 * num9; bottom += num6 * num9; return(new PointF[] { new PointF(left, top), new PointF(right, top), new PointF(right, bottom), new PointF(left, bottom) }); }