Beispiel #1
0
 internal static double ToX(this GalleyImageButtonPosition pos)
 => pos == GalleyImageButtonPosition.Left
                                    ? 0
                                        : pos == GalleyImageButtonPosition.Right
                                    ? 1
                                        : 0.5;
Beispiel #2
0
 internal static double ToY(this GalleyImageButtonPosition pos)
 => pos == GalleyImageButtonPosition.Top
                                    ? 0
                                        : pos == GalleyImageButtonPosition.Bottom
                                    ? 1
                                        : 0.5;